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') %>

<%= t('user_block.index.heading') %>

<%= 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}}."