Sha256: 831c3656e5e55b4644105f455c60a5d3ec8f6633a2f220de8539f29e1e1320d9

Contents?: true

Size: 778 Bytes

Versions: 6

Compression:

Stored size: 778 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 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

6 entries across 6 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/collections/_view_type_group.html.erb
sufia-6.6.1 app/views/collections/_view_type_group.html.erb
sufia-6.6.0 app/views/collections/_view_type_group.html.erb
sufia-6.5.0 app/views/collections/_view_type_group.html.erb
sufia-6.4.0 app/views/collections/_view_type_group.html.erb
sufia-6.3.0 app/views/collections/_view_type_group.html.erb