Skip to content

Commit

Permalink
Do not hint at creating things on search action
Browse files Browse the repository at this point in the history
In this page is actually a bit weird to find this kind of answer.

Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Mar 14, 2024
1 parent 52565f7 commit 2a391e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/searches/_search.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="items">
<% els = items.values.flatten %>
<% if els.empty? %>
<% if current_user.last_search_id.nil? %>
<% if current_user.last_search_id.nil? && action_name != "search" %>
<p><%= I18n.t('things.none') %> <%= link_to I18n.t('license.here'), new_thing_path %>.</p>
<% else %>
<p><%= I18n.t('searches.none') %>.</p>
Expand Down

0 comments on commit 2a391e8

Please sign in to comment.