Skip to content

Commit

Permalink
Update _notes.html.erb (#7669)
Browse files Browse the repository at this point in the history
As required, I have changed function t to translation.
  • Loading branch information
Jigyasa-Kumari authored Mar 18, 2020
1 parent 46abd3f commit a4a8491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/sidebar/_notes.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
</p>
<p>
<small style="color:#888;">
<%= raw t('sidebar._notes.updated_by', :time => time_ago_in_words(note.created_at), :url1 => "/profile/"+note.author.name, :author_name => note.author.name) %>
<%= raw translation('sidebar._notes.updated_by', :time => time_ago_in_words(note.created_at), :url1 => "/profile/"+note.author.name, :author_name => note.author.name) %>
</small>
</p>
<% end %>
<% end %>

<% if params[:controller] == "search" %>
<p><a href="/tag/<%= params[:id] %>"><%= t('sidebar._notes.more') %></a></p>
<p><a href="/tag/<%= params[:id] %>"><%= translation('sidebar._notes.more') %></a></p>
<% end %>

</div>
Expand Down

0 comments on commit a4a8491

Please sign in to comment.