-
Notifications
You must be signed in to change notification settings - Fork 253
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
81 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<% # main container for facets/limits menu -%> | ||
<% if has_facet_values? facet_field_names(groupname) %> | ||
<div id="facets<%= "-#{groupname}" unless groupname.nil? %>" class="facets sidenav"> | ||
<div class="top-panel-heading panel-heading"> | ||
<button type="button" class="facets-toggle" data-toggle="collapse" data-target="#facet-panel<%= "-#{groupname}" unless groupname.nil? %>-collapse"> | ||
<span class="sr-only">Toggle facets</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<h4> | ||
<%= groupname.blank? ? t('blacklight.search.facets.title') : t("blacklight.search.facets-#{groupname}.title") %> | ||
</h4> | ||
</div> | ||
<div id="facet-panel<%= "-#{groupname}" unless groupname.nil? %>-collapse" class="collapse panel-group"> | ||
<%= render_facet_partials facet_field_names(groupname) %> | ||
</div> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,3 @@ | ||
<% # main container for facets/limits menu -%> | ||
<% if has_facet_values? %> | ||
<div id="facets" class="facets sidenav"> | ||
<div class="top-panel-heading panel-heading"> | ||
<button type="button" class="facets-toggle" data-toggle="collapse" data-target="#facet-panel-collapse"> | ||
<span class="sr-only">Toggle facets</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<h4> | ||
<%= t('blacklight.search.facets.title') %> | ||
</h4> | ||
</div> | ||
<div id="facet-panel-collapse" class="collapse panel-group"> | ||
<%= render_facet_partials %> | ||
</div> | ||
</div> | ||
<% end %> | ||
<% facet_group_names.each do |groupname| %> | ||
<%= render partial: "facet_group", locals: {groupname: groupname} %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters