Sha256: 775ea054f706b0c38822377bf6a9b7cbf8452caeb78cc5ae4963f3e8bb6c9d2f
Contents?: true
Size: 800 Bytes
Versions: 1
Compression:
Stored size: 800 Bytes
Contents
<% if blacklight_config.document_index_view_types.length > 1 -%> <div class="view-type"> <span class="sr-only"><%= t('blacklight.search.view_title') %></span> <div class="view-type-group btn-group"> <% blacklight_config.document_index_view_types.each do |view| %> <%= link_to url_for(params.merge(:view => view)), :title => t("blacklight.search.view_title.#{view}", default: t("blacklight.search.view.#{view}", default: "")), :class => "btn btn-default view-type-#{ view.parameterize } #{"active" if document_index_view_type == view}" do %> <span class="glyphicon glyphicon-<%= view.parameterize %> view-icon-<%= view.parameterize %>"></span> <span class="caption"><%= t("blacklight.search.view.#{view}") %></span> <% end %> <% end %> </div> </div> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight-5.0.0.pre3 | app/views/catalog/_view_type_group.html.erb |