Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2375] More updates to the dataset search results page
- Loading branch information
Showing
2 changed files
with
12 additions
and
9 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
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 |
---|---|---|
|
@@ -23,14 +23,16 @@ | |
how a facet-item's count is displayed. | ||
--> | ||
<section class="module" xmlns:py="http://genshi.edgewall.org/"> | ||
<section class="module" xmlns:py="http://genshi.edgewall.org/" py:with="items=h.unselected_facet_items(name, 10)"> | ||
This comment has been minimized.
Sorry, something went wrong. |
||
<h2 class="heading">${h.facet_title(title)}</h2> | ||
<nav> | ||
<ul class="unstyled nav nav-simple"> | ||
<py:for each="item in h.unselected_facet_items(name, 10)"> | ||
<py:for each="item in items"> | ||
${h.snippet('snippets/facet_item.html', name=name, item=item)} | ||
</py:for> | ||
</ul> | ||
</nav> | ||
<p class="footer">View all</p> | ||
<p class="footer" py:if="items"> | ||
<a href="#" class="read-more">Show All ${h.facet_title(title)}</a> | ||
</p> | ||
This comment has been minimized.
Sorry, something went wrong.
aron
Author
Contributor
|
||
</section> |
@tobes I need this to display facet items including unselected ones, could you create a helper for me?