From ab4e0b10930a92d9e7323ba84546ee8bacba1e6c Mon Sep 17 00:00:00 2001 From: Mohit Kumar <47894634+Mohitkumar6122@users.noreply.github.com> Date: Tue, 18 Aug 2020 21:56:12 +0530 Subject: [PATCH] Update index.html.erb (#8313) --- app/views/notes/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/notes/index.html.erb b/app/views/notes/index.html.erb index 7bd0ca28fbf..6a55bd85a5f 100644 --- a/app/views/notes/index.html.erb +++ b/app/views/notes/index.html.erb @@ -11,7 +11,7 @@ <% elsif params[:action] == "author_topic" %>

<%= raw translation('notes.index.research_on', :tags => @tagnames.join(', '), :url1 => "/people/"+@user.name, :user_name => @user.name) %>
<%= raw translation('notes.index.research_notes_and_wiki_edits_with_time', :count => @user.nodes.count, :time => time_ago_in_words(@user.created_at)) %>

<% elsif params[:action] == "author" %> -

<%= raw translation('notes.index.research_by', :url1 => "/people/"+@user.name, :user_name => @user.name) %> <%= raw translation('notes.index.research_notes_and_wiki_edits', :count1 => @user.note_count, :word1 => 'note'.pluralize(@user.note_count), :count2 => @user.revisions.count, :word2 => 'edit'.pluralize(@user.revisions.count)) %> <% if @user.notes.length > 0 %><%= raw translation('notes.index.starting_time', :time => time_ago_in_words(@user.created_at)) %><% end %>

+

<%= raw translation('notes.index.research_by', :url1 => "/people/"+@user.name, :user_name => @user.name) %> <%= raw translation('notes.index.research_notes_and_wiki_edits', :count1 => @user.note_count, :word1 => 'note'.pluralize(@user.note_count), :count2 => @user.revisions.count, :word2 => 'edit'.pluralize(@user.revisions.count)) %> <% if @user.notes.size > 0 %><%= raw translation('notes.index.starting_time', :time => time_ago_in_words(@user.created_at)) %><% end %>

<% else %>

<%= raw translation('notes.index.research_notes_ideas_and_documentation') %>

<% end %>