Sha256: cf3ee9a4c0869cf7717eac03d3690dae12dae448c5e1cf6c1462bd165bc9aebf

Contents?: true

Size: 765 Bytes

Versions: 38

Compression:

Stored size: 765 Bytes

Contents

<% if has_alternative_views? -%>
<div class="view-type col-xs-12 col-sm-3 col-md-4 col-lg-2">
  <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-default 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

38 entries across 38 versions & 3 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-1.1.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/collections/_view_type_group.html.erb
sufia-7.4.1 app/views/collections/_view_type_group.html.erb
hyrax-1.0.5 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/collections/_view_type_group.html.erb
sufia-7.4.0 app/views/collections/_view_type_group.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-1.0.4 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-1.0.3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-1.0.2 app/views/hyrax/collections/_view_type_group.html.erb