regluit/frontend/templates/refine.html

22 lines
934 B
HTML

{% load url from future %}{% if vertex.get_other_groups %}
<div class="jsmodule">
<h3 class="jsmod-title"><span>Select</span></h3>
<div class="jsmod-content">
<ul class="menu level1">
<li class="first parent">
<span>Show me only...</span>
{% for group in vertex.get_other_groups %}
<ul class="menu level2">
{% for facet in group.get_facets %}
{% if forloop.first %}<li class="first"><span>{{ group.title }} is ...</span></li>{% endif %}
<li><a href="{% url 'faceted_list' path %}{{facet.facet_name}}/?{% if setkw %}setkw={{setkw}}&amp;{% endif %}order_by={{order_by}}" title="{{ facet.title }}"><span>{{ facet.label }}</span></a></li>
{% endfor %}
</ul>
{% endfor %}
</li>
</ul>
</div>
</div>
<br />
{% endif %}