Add <title> to /blocks and don't Camel Case headings

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-10-01 19:27:15 +00:00
parent 1a2ccfbb8f
commit c6f844603d
2 changed files with 3 additions and 1 deletions

View file

@ -1,3 +1,4 @@
<% @title = t('user_block.index.title') %>
<h1><%= t('user_block.index.heading') %></h1>
<%= render :partial => 'blocks', :locals => { :show_revoke_link => (@user and @user.moderator?), :show_user_name => true, :show_creator_name => true } %>

View file

@ -1061,7 +1061,8 @@ en:
only_creator_can_edit: "Only the moderator who created this block can edit it."
success: "Block updated."
index:
heading: "Listing User Blocks"
title: "User blocks"
heading: "List of user blocks"
revoke:
heading: "Revoking block on {{block_on}} by {{block_by}}"
time_future: "This block will end in {{time}}."