Add <title> to /blocks and don't Camel Case headings
This commit is contained in:
parent
1a2ccfbb8f
commit
c6f844603d
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<% @title = t('user_block.index.title') %>
|
||||||
<h1><%= t('user_block.index.heading') %></h1>
|
<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 } %>
|
<%= render :partial => 'blocks', :locals => { :show_revoke_link => (@user and @user.moderator?), :show_user_name => true, :show_creator_name => true } %>
|
||||||
|
|
|
@ -1061,7 +1061,8 @@ en:
|
||||||
only_creator_can_edit: "Only the moderator who created this block can edit it."
|
only_creator_can_edit: "Only the moderator who created this block can edit it."
|
||||||
success: "Block updated."
|
success: "Block updated."
|
||||||
index:
|
index:
|
||||||
heading: "Listing User Blocks"
|
title: "User blocks"
|
||||||
|
heading: "List of user blocks"
|
||||||
revoke:
|
revoke:
|
||||||
heading: "Revoking block on {{block_on}} by {{block_by}}"
|
heading: "Revoking block on {{block_on}} by {{block_by}}"
|
||||||
time_future: "This block will end in {{time}}."
|
time_future: "This block will end in {{time}}."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue