Skip to content
Snippets Groups Projects
Commit 1f29a91f authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

More tag show view

parent dab0708d
Branches
Tags
No related merge requests found
<h1>Tag: <span class="<%= @classes %> is-large"><%= @tag.name %></span></h1>
\ No newline at end of file
<h1>
Posts tagged <span class="<%= @classes %> is-large"><%= @tag.name %></span>
</h1>
<div class="widget">
<div class="widget--body">
<%= raw(sanitize(@tag.excerpt, scrubber: scrubber)) %>
<% unless @tag.excerpt.present? %>
<p class="has-font-size-caption">
<em>
This tag doesn't have any usage information yet.
<% if current_user&.has_privilege?('EditTag') %>
<%= link_to 'Help us create it', edit_tag_path(id: @category.id, tag_id: @tag.id) %>.
<% end %>
</em>
</p>
<% end %>
<hr/>
<%= raw(sanitize(@tag.wiki, scrubber: scrubber)) %>
<% unless @tag.wiki.present? %>
<p class="has-font-size-caption">
<em>
This tag doesn't have a detailed wiki yet.
<% if current_user&.has_privilege?('EditTag') %>
<%= link_to 'Help us create it', edit_tag_path(id: @category.id, tag_id: @tag.id) %>.
<% end %>
</em>
</p>
<% end %>
</div>
</div>
......@@ -10,3 +10,5 @@
threshold: 500
- name: SeeTools
threshold: 500
- name: EditTag
threshold: 750
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment