Sha256: 01ee26274b09bf07da71ae4a81566f96d2da7d3526947d956b546a18598f890d

Contents?: true

Size: 1.22 KB

Versions: 7

Compression:

Stored size: 1.22 KB

Contents

<div class='al-grouped-title-bar'>
  <div class='row'>
    <div class='col-md-12'>
      <% if document.repository_config.present? %>
        <div class='al-grouped-repository breadcrumb-links'>
          <%= link_to(document.repository_config.name, helpers.arclight_engine.repository_path(document.repository_config.slug)) %>
        </div>
      <% end %>
      <h3><%= helpers.link_to_document document %></h3>
      <% document.extent.each do |extent| %>
        <%= tag.span extent, class: 'al-document-extent badge' unless compact? %>
      <% end %>
      <dl>
        <%= render Arclight::IndexMetadataFieldComponent.with_collection(presenter.field_presenters.select { |field| !compact? || field.field_config.compact }) %>
      </dl>
    </div>
  </div>
</div>

<div class="grouped-documents">
  <div class="al-grouped-more">
    <% if @group.total > 3 %>
      <%= t('arclight.views.index.top_group_results', count: 3) %>
      <%= link_to(
        t('arclight.views.index.all_group_results', count: @group.total),
        search_within_collection_url)
      %>
    <% else %>
      <%= t('arclight.views.index.group_results_count', count: @group.total) %>
    <% end %>
  </div>

  <%= helpers.render_document_index @group.docs %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arclight-1.4.0 app/components/arclight/group_component.html.erb
arclight-1.3.0 app/components/arclight/group_component.html.erb
arclight-1.2.0 app/components/arclight/group_component.html.erb
arclight-1.1.3 app/components/arclight/group_component.html.erb
arclight-1.1.2 app/components/arclight/group_component.html.erb
arclight-1.1.1 app/components/arclight/group_component.html.erb
arclight-1.1.0 app/components/arclight/group_component.html.erb