Sha256: 2932b1c1d1b7fc9ce2069c88fe8a1d7ec484e24f4b75fb61ab89c381c3110641
Contents?: true
Size: 780 Bytes
Versions: 39
Compression:
Stored size: 780 Bytes
Contents
<% views = blacklight_view_config_for_search_block(block) %> <% if views.length > 1 -%> <div class="view-type"> <span class="sr-only"><%= t('blacklight.search.view_title') %></span> <div class="view-type-group btn-group"> <% views.each do |view, config| %> <%= link_to url_for(params.merge(: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 block_document_index_view_type(block) == 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
39 entries across 39 versions & 1 rubygems