Sha256: 411e6358485b7d91987e8757878720f5a993a25281920a4d7f5662b0d3a1662f

Contents?: true

Size: 729 Bytes

Versions: 54

Compression:

Stored size: 729 Bytes

Contents

<% if 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_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

54 entries across 54 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.7 app/views/collections/_view_type_group.html.erb
curation_concerns-2.0.0 app/views/collections/_view_type_group.html.erb
curation_concerns-2.0.0.rc2 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.6 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.5 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.4 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.3 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.2 app/views/collections/_view_type_group.html.erb
curation_concerns-2.0.0.rc1 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.1 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.0 app/views/collections/_view_type_group.html.erb
curation_concerns-1.7.0.beta1 app/views/collections/_view_type_group.html.erb
curation_concerns-1.6.3 app/views/collections/_view_type_group.html.erb
curation_concerns-1.6.2 app/views/collections/_view_type_group.html.erb
curation_concerns-1.6.1 app/views/collections/_view_type_group.html.erb
curation_concerns-1.6.0 app/views/collections/_view_type_group.html.erb
curation_concerns-1.5.0 app/views/collections/_view_type_group.html.erb
curation_concerns-1.4.0 app/views/collections/_view_type_group.html.erb
curation_concerns-1.3.3 app/views/collections/_view_type_group.html.erb