diff --git a/app/views/tag/show/_tab_content.html.erb b/app/views/tag/show/_tab_content.html.erb index c77ce67292..2a7afb9380 100644 --- a/app/views/tag/show/_tab_content.html.erb +++ b/app/views/tag/show/_tab_content.html.erb @@ -18,13 +18,16 @@ <% if @node_type == "questions" %>
- -
-
- <%= render partial: "questions/new_question" %> + <% if @questions.nil? || @questions.length == 0 %> +

<%= raw translation('tag.show.no_questions_results_found') %>

+

Or try searching: <%= params[:id] %>

+ <% else %> +
+
+ <%= render partial: "questions/new_question" %> +
-
- + <% end %>
<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 3bd812856d..b67ce135e7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -449,6 +449,7 @@ en: wiki_pages: "Wiki pages" maps: "Maps" no_results_found: "No results found; try searching for '%{tag}'" + no_questions_results_found: "Hi! No Questions have this tag 🤷, try checking the Research Notes or Wikis tabs on this page." try_advanced_search: "Or try an advanced search" people: "People" no_map_results_found: "Sorry, no map is tagged with %{tag}"