Sha256: 207948aeb70f491f4dbcbe4f67baed11530e9b4577e511154f2eb9fe9786bc87

Contents?: true

Size: 708 Bytes

Versions: 14

Compression:

Stored size: 708 Bytes

Contents

<% content_for(:sidebar) do %>
  <%= render 'spotlight/shared/exhibit_sidebar' %>
<% end %>

<%= curation_page_title t(:".header") %>

<% if @tags.empty? %>
  <p><%= t :'.no_tags' %></p>
<% else %>
<table class="table table-striped tags">
  <thead>
    <th><%= t '.name' %></th>
    <th><%= t '.taggings.count' %></th>
    <%# TODO last used? %>
    <th><%= t '.actions' %></th>
  </thead>
  <tbody>
  <% @tags.each do |tag| %>
    <tr>
      <td><%= link_to tag.name, url_to_tag_facet(tag.name) %></td>
      <td><%= tag.taggings.count %></td>
      <td><%= delete_link(tag, exhibit_tag_path(current_exhibit, tag), class: 'btn btn-danger btn-sm') %></td>
    </tr>
  <% end %>
  </tbody>
</table>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
blacklight-spotlight-3.0.0.rc4 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.rc3 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.rc2 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.rc1 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.10 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.9 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.8 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.7 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.6 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.5 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.4 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.3 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.2 app/views/spotlight/tags/index.html.erb
blacklight-spotlight-3.0.0.alpha.1 app/views/spotlight/tags/index.html.erb