Sha256: c8ef87aafc98b6cdc51949ce81759f9683c52adbf71b1640212da7927ad1ad5e

Contents?: true

Size: 741 Bytes

Versions: 18

Compression:

Stored size: 741 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 collections.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

18 entries across 18 versions & 2 rubygems

Version Path
curation_concerns-0.12.0.pre1 app/views/collections/_view_type_group.html.erb
curation_concerns-0.11.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.11.0.rc1 app/views/collections/_view_type_group.html.erb
curation_concerns-0.10.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.9.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.8.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.7.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.6.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.5.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.4.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.3.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.2.0 app/views/collections/_view_type_group.html.erb
curation_concerns-0.1.0 app/views/collections/_view_type_group.html.erb
sufia-6.2.0 app/views/collections/_view_type_group.html.erb
sufia-6.1.0 app/views/collections/_view_type_group.html.erb
sufia-6.0.0 app/views/collections/_view_type_group.html.erb
sufia-6.0.0.rc4 app/views/collections/_view_type_group.html.erb
sufia-6.0.0.rc3 app/views/collections/_view_type_group.html.erb