Sha256: 3700d0a5bcb601cc76a2d7ddb6ed2aaf3439f56b5c2f5ebc8eebc41e03eb4064

Contents?: true

Size: 1.15 KB

Versions: 7

Compression:

Stored size: 1.15 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>
      <%= tag.span(document.extent, class: 'al-document-extent badge') if document.extent %>
      <%= render Arclight::IndexMetadataFieldComponent.with_collection(presenter.field_presenters.select { |field| !compact? || field.field_config.compact }) %>
    </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.0.1 app/components/arclight/group_component.html.erb
arclight-1.0.0 app/components/arclight/group_component.html.erb
arclight-1.0.0.beta6 app/components/arclight/group_component.html.erb
arclight-1.0.0.beta4 app/components/arclight/group_component.html.erb
arclight-1.0.0.beta3 app/components/arclight/group_component.html.erb
arclight-1.0.0.beta2 app/components/arclight/group_component.html.erb
arclight-1.0.0.beta1 app/components/arclight/group_component.html.erb