Sha256: c1cde81b50b79f04dfd49f249285842870b7b3195693d13a510a0ca32dd6e7f5

Contents?: true

Size: 526 Bytes

Versions: 9

Compression:

Stored size: 526 Bytes

Contents

<h2 class="sr-only">Descriptions</h2>
<dl class="metadata-collections">
  <dt><%= get_label("total_items") %></dt>
  <dd><%= @collection.members.count %></dd>
  <dt><%= get_label("size") %></dt>
  <dd><%= number_to_human_size(@collection.bytes) %></dd>
  <% (@collection.terms_for_display).each do |term| %>
      <% if @collection.send(term).present? %>
      <dt><%= get_label(term) %></dt>
      <dd><%= render_show_field_partial_with_action("records", term, {record: @collection}) %></dd>
      <% end %>
  <% end %>
</dl>

Version data entries

9 entries across 9 versions & 1 rubygems

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