Sha256: 4f06077251fd62259030d67aacc11a684a456ea53cac84a5fa3fbeae80cf8b22

Contents?: true

Size: 737 Bytes

Versions: 15

Compression:

Stored size: 737 Bytes

Contents

<% if has_alternative_views? -%>
<div class="view-type float-right">
  <span class="sr-only"><%= t('blacklight.search.view_title') %></span>
  <div class="view-type-group btn-group">
    <% document_index_views.each do |view, config| %>
      <%= link_to collection_path(params[:id], view: view), title: t("blacklight.search.view_title.#{view}", default: t("blacklight.search.view.#{view}", default: blacklight_config.view[view].title)), class: "btn btn-light view-type-#{view.to_s.parameterize } #{"active" if document_index_view_type == view}" do %>
        <%= render_view_type_group_icon view %>
        <span class="caption"><%= t("blacklight.search.view.#{view}") %></span>
      <% end %>
    <% end %>
  </div>
</div>
<% end -%>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.4 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.0.rc3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.0.rc2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-5.0.0.rc1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/collections/_view_type_group.html.erb