Sha256: ef577719e5c01d236e8bebbf9c70fc03e8181bd0764edaaee6a8bac451f48524

Contents?: true

Size: 669 Bytes

Versions: 11

Compression:

Stored size: 669 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: { noid: collection.noid } do %>
            <%= link_to collection.title, collections.collection_path(collection.noid) %>
          <% end %>
        </tr>
      <% end %>
      </tbody>
      </table>
    <% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sufia-5.0.0 app/views/generic_files/_show_collections.html.erb
sufia-5.0.0.rc1 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0.rc2 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0.rc1 app/views/generic_files/_show_collections.html.erb
sufia-4.3.1 app/views/generic_files/_show_collections.html.erb
sufia-6.0.0.beta1 app/views/generic_files/_show_collections.html.erb
sufia-4.2.0 app/views/generic_files/_show_collections.html.erb
sufia-4.1.0 app/views/generic_files/_show_collections.html.erb
sufia-4.0.1 app/views/generic_files/_show_collections.html.erb
sufia-4.0.0 app/views/generic_files/_show_collections.html.erb
sufia-4.0.0.rc2 app/views/generic_files/_show_collections.html.erb