Sha256: e5176172ee1e3f722b1807e278a858d10a1c824c8060343cc7e63094053601b8

Contents?: true

Size: 660 Bytes

Versions: 11

Compression:

Stored size: 660 Bytes

Contents

    <h2 class="non lower">Collections</h2>
    <% if @generic_file.collections.blank? %>
        <p><%= t('sufia.file.collections_list.empty') %></p>
    <% else %>
        <p><%= t('sufia.file.collections_list.heading') %></p>
      <table class="table table-striped">
        <tbody>
        <% @generic_file.collections.each do |collection| %>
        <tr class="collection attributes">
          <%= content_tag :td, class: 'attribute title', data: { id: collection.id } do %>
            <%= link_to collection.title, collections.collection_path(collection) %>
          <% end %>
        </tr>
      <% end %>
      </tbody>
      </table>
    <% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/generic_files/_show_collections.html.erb
sufia-6.6.1 app/views/generic_files/_show_collections.html.erb
sufia-6.6.0 app/views/generic_files/_show_collections.html.erb
sufia-6.5.0 app/views/generic_files/_show_collections.html.erb
sufia-6.4.0 app/views/generic_files/_show_collections.html.erb
sufia-6.3.0 app/views/generic_files/_show_collections.html.erb
sufia-6.2.0 app/views/generic_files/_show_collections.html.erb
sufia-6.1.0 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0.rc4 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0.rc3 app/views/generic_files/_show_collections.html.erb