From 925358abc73329922498452c4a9c995c8699ee3d Mon Sep 17 00:00:00 2001 From: Sidharth Date: Wed, 31 Jan 2018 01:35:16 +0530 Subject: [PATCH] Contributors for wildcards --- app/views/tag/show.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/tag/show.html.erb b/app/views/tag/show.html.erb index 65931a6cf4..d9c4f9356f 100644 --- a/app/views/tag/show.html.erb +++ b/app/views/tag/show.html.erb @@ -68,7 +68,11 @@ class="active"<% end %>> <%= t('tag.show.questions') %> class="active"<% end %>> <%= raw t('tag.show.wiki_pages') %> class="active"<% end %>> <%= t('tag.show.maps') %> - class="active"<% end %>> <%= raw t('tag.show.contributors') %> <%=@length %> + <% if !@wildcard %> + class="active"<% end %>> <%= raw t('tag.show.contributors') %> <%=@length %> + <% else %> +
  • class="active"<% end %>> <%= raw t('tag.show.contributors') %>
  • + <% end %> <% else %> class="active"<% end %>> <%= t('tag.show.questions') %> class="active"<% end %>> <%= raw t('tag.show.wiki_pages') %>