Sha256: 7a8e9dafabd96c60c492ad76a4d7b4dd667b103d4302d52c674c1e0f3c2a31f5

Contents?: true

Size: 643 Bytes

Versions: 11

Compression:

Stored size: 643 Bytes

Contents

<% if show_sort_and_per_page? and has_alternative_views? -%>
<div class="view-type">
  <span class="sr-only"><%= t('blacklight.search.view_title') %></span>
  <div class="view-type-group btn-group">
    <% document_index_view_controls.each do |view, config| %>
      <%= link_to url_for(search_state.to_h.merge(view: view)), title: view_label(view), class: "btn btn-outline-secondary view-type-#{ view.to_s.parameterize } #{"active" if document_index_view_type == view}" do %>
        <%= render_view_type_group_icon view %>
        <span class="caption"><%= view_label(view) %></span>
      <% end %>
    <% end %>
  </div>
</div>
<% end -%>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
blacklight-7.4.2 app/views/catalog/_view_type_group.html.erb
blacklight-7.4.1 app/views/catalog/_view_type_group.html.erb
blacklight-7.4.0 app/views/catalog/_view_type_group.html.erb
blacklight-7.3.0 app/views/catalog/_view_type_group.html.erb
blacklight-7.2.0 app/views/catalog/_view_type_group.html.erb
blacklight-7.1.0 app/views/catalog/_view_type_group.html.erb
blacklight-7.1.0.alpha app/views/catalog/_view_type_group.html.erb
blacklight-7.0.1 app/views/catalog/_view_type_group.html.erb
blacklight-7.0.0 app/views/catalog/_view_type_group.html.erb
blacklight-7.0.0.rc2 app/views/catalog/_view_type_group.html.erb
blacklight-7.0.0.rc1 app/views/catalog/_view_type_group.html.erb