summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/show.html.erb13
1 files changed, 12 insertions, 1 deletions
diff --git a/app/views/nodes/show.html.erb b/app/views/nodes/show.html.erb
index 1469572..66f04f9 100644
--- a/app/views/nodes/show.html.erb
+++ b/app/views/nodes/show.html.erb
@@ -185,8 +185,19 @@
185 <p class="revisions_full_history_link"><%= link_to 'Full history (diff / restore)', node_revisions_path(@node) %></p> 185 <p class="revisions_full_history_link"><%= link_to 'Full history (diff / restore)', node_revisions_path(@node) %></p>
186 </div> 186 </div>
187 187
188
188 <div class="node_description">Tags</div> 189 <div class="node_description">Tags</div>
189 <div class="node_content node_info_group"><%= @page.tag_list %></div> 190 <div class="node_content node_info_group">
191 <% if @page.tag_list.any? %>
192 <ul class="tag_pill_list">
193 <% @page.tag_list.sort.each do |tag| %>
194 <li class="tag_pill"><%= tag %></li>
195 <% end %>
196 </ul>
197 <% else %>
198 <span class="field_hint">No tags.</span>
199 <% end %>
200 </div>
190 201
191 <% if @page.assets.images.any? %> 202 <% if @page.assets.images.any? %>
192 <div class="node_description">Images</div> 203 <div class="node_description">Images</div>