From: Ævar Arnfjörð Bjarmason Date: Thu, 1 Oct 2009 19:27:15 +0000 (+0000) Subject: Add to /blocks and don't Camel Case headings X-Git-Tag: live~6568^2~19 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c6f844603d9c5a46bb3dc34dfb0cdff1145f5715 Add <title> to /blocks and don't Camel Case headings --- diff --git a/app/views/user_blocks/index.html.erb b/app/views/user_blocks/index.html.erb index c9ab16dad..8d645f465 100644 --- a/app/views/user_blocks/index.html.erb +++ b/app/views/user_blocks/index.html.erb @@ -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 } %> diff --git a/config/locales/en.yml b/config/locales/en.yml index fd6289962..6d038a252 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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}}."