Sha256: 037e4d8eb15f7163e9bcc009a96b9cedcc07c2400a5a28debdba09de4cd95ac2

Contents?: true

Size: 738 Bytes

Versions: 49

Compression:

Stored size: 738 Bytes

Contents

<% if has_alternative_views? -%>
<div class="view-type pull-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-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

49 entries across 49 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.5.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.4.2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.4.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.4.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.3.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.2.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.6 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.1.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.5 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.0.2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.0.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.0.0 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.4 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.3 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.2 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.1 app/views/hyrax/collections/_view_type_group.html.erb
hyrax-2.9.0 app/views/hyrax/collections/_view_type_group.html.erb