Sha256: 0f1ecc7cfa634df6a366e8d04e3ee7056697c5b5901d629544204a5383788689

Contents?: true

Size: 1.02 KB

Versions: 14

Compression:

Stored size: 1.02 KB

Contents

<p><%= params[:id] %></p>
<%= turbo_frame_tag "al-hierarchy-#{params[:id]}#{params[:key]}" do %>
  <%= render partial: "paginate_compact", object: @response if show_pagination? && params[:paginate] %>
  <% presenters = @response.documents.map{ | document | document_presenter(document) } %>
  <% if params[:hierarchy].present? %>
    <ul class="documents">
      <%= render Arclight::DocumentCollectionHierarchyComponent.with_collection(presenters,
                                                                                blacklight_config: blacklight_config,
                                                                                nest_path: params[:nest_path]) %>
    </ul>
  <% else %>
    <table class="table table-striped">
      <%= render Arclight::DocumentCollectionContextComponent.with_collection(presenters,
                                                                              blacklight_config: blacklight_config) %>
    </table>
  <% end %>

  <%= render 'results_pagination' if params[:paginate] %>
<% end %>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
arclight-1.4.0 app/views/catalog/hierarchy.html.erb
arclight-1.3.0 app/views/catalog/hierarchy.html.erb
arclight-1.2.0 app/views/catalog/hierarchy.html.erb
arclight-1.1.3 app/views/catalog/hierarchy.html.erb
arclight-1.1.2 app/views/catalog/hierarchy.html.erb
arclight-1.1.1 app/views/catalog/hierarchy.html.erb
arclight-1.1.0 app/views/catalog/hierarchy.html.erb
arclight-1.0.1 app/views/catalog/hierarchy.html.erb
arclight-1.0.0 app/views/catalog/hierarchy.html.erb
arclight-1.0.0.beta6 app/views/catalog/hierarchy.html.erb
arclight-1.0.0.beta4 app/views/catalog/hierarchy.html.erb
arclight-1.0.0.beta3 app/views/catalog/hierarchy.html.erb
arclight-1.0.0.beta2 app/views/catalog/hierarchy.html.erb
arclight-1.0.0.beta1 app/views/catalog/hierarchy.html.erb