-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changed tag page 'No Results found' message #9531
Conversation
Codecov Report
@@ Coverage Diff @@
## main #9531 +/- ##
=======================================
Coverage ? 81.49%
=======================================
Files ? 98
Lines ? 5924
Branches ? 0
=======================================
Hits ? 4828
Misses ? 1096
Partials ? 0 |
I think I also need to change the |
Code Climate has analyzed commit cf3842f and detected 0 issues on this pull request. View more on Code Climate. |
Hi @TildaDares did you mean to close this? You can often continue to make changes and keep pushing them to the same remote branch and theyll keep showing up in the same PR. Just checking! |
@jywarren I'll reopen it now. Thanks |
@@ -7,8 +7,8 @@ | |||
<% if @node_type == "note" %> | |||
<div class="tab-pane active" id="notes"> | |||
<% if @notes.nil? || @notes.length == 0 %> | |||
<p><%= raw translation('tag.show.no_results_found', tag: params[:id]) %>:</p> | |||
<p><a href="/search/<%= params[:id] %>">Search for "<%= params[:id] %>"</a></p> | |||
<p><%= raw translation('tag.show.no_results_found', other_tab: 'Wiki') %></p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jywarren Instead of using the en.yml to display the message, I think maybe we should just display the message here since each tab has it's own no_results found message.
Fixes #9510 (<=== Add issue number here)
Before
Screen.Recording.2021-04-20.at.09.03.21.mov
After
Screen.Recording.2021-04-20.at.09.10.19.mov
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!