Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: YIWEI CHEN <[email protected]>
  • Loading branch information
Y77C and YIWEI CHEN authored Sep 27, 2021
1 parent e5219ef commit 224387f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tag/show/_tab_content.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="tab-pane active" id="notes">
<% if @notes.nil? || @notes.length == 0 %>
<p><%= raw translation('tag.show.no_notes_results_found') %></p>
<p>Or try searching: <a href="/search/<%= params[:id] %>"><%= params[:id] %></a></p>
<p><%= raw translation('tag.show.or_try_searching') %> <a href="/search/<%= params[:id] %>"><%= params[:id] %></a></p>
<% else %>
<%= render partial: "notes/notes", locals: { tagname: params[:id] } %>
<% end %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ en:
or_subscribe_to_answer: "<a style='margin-bottom:6px;' class='btn btn-primary
requireLogin' target='_blank' href='%{url1}'>Subscribe to answer questions
on this topic</a>"
or_try_searching: "Or try searching:"
research_notes: "Research notes"
questions: "Questions"
wiki_pages: "Wiki pages"
Expand Down

0 comments on commit 224387f

Please sign in to comment.