Skip to content

Commit 3f75e19

Browse files
committed
added proper page title for viewing reactions
1 parent 1292ae0 commit 3f75e19

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

app/views/reactions/index.html.erb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
<%
2+
title = t('mod.tools.reactions')
3+
blurb = t('mod.tools.reactions_blurb')
4+
%>
5+
6+
<% content_for :title, title %>
7+
18
<%= link_to moderator_path, class: 'has-font-size-small' do %>
29
&laquo; Return to moderator tools
310
<% end %>
411

5-
<h1>Reactions</h1>
6-
7-
<p class="is-lead">Reactions can be used to give feedback to post authors and to give hints to readers regarding the usefulness, safety, ... of an post. Use them sparely and only when necessary</p>
12+
<h1><%= title %></h1>
13+
<p class="is-lead"><%= blurb %></p>
814

915
<table>
1016
<tr>

config/locales/strings/en.mod.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ en:
55
pinned_links_blurb: >
66
Featured links allow you as a moderator to draw attention to issues or posts of importance to the community.
77
Use them sparingly and only when needed, because they tend to get ignored if used too often.
8+
reactions: 'Reactions'
9+
reactions_blurb: >
10+
Reactions can be used to give feedback to post authors and to give hints to readers regarding the usefulness, safety, ... of an post.
11+
Use them sparely and only when necessary

0 commit comments

Comments
 (0)