diff --git a/app/views/tag/show/_tab_content.html.erb b/app/views/tag/show/_tab_content.html.erb index c77ce672922..3cb9ed2768c 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', tag: params[:id]) %>

+

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 3bd812856d5..d02705a6de0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -402,6 +402,7 @@ en: unfollow: "Click to unfollow" follow: "Follow" no_results: "No results found; try searching for '%{search}'" + no_questions_results_found: "Hi! No Questions have this tag 🤷, try checking the Research Notes or Wikis tabs on this page." no_recent_posts: "There are no recent posts" advanced_search: "Or try an advanced search" by: "by"