Recherche avancée
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / menu.html
CommitLineData
bae03b7b 1{% load sep %}
c55954bf 2<h1>Filtrer par <em>région</em></h1>
9cb46d12 3<ul>
bae03b7b 4 <li{% if not region_active %} class="active"{% endif %}
c1b134f8 5 ><a href="{{ request.get_full_path|change_region:'all' }}">Toutes les régions</a</li>
9cb46d12 6 {% for r in regions %}
bae03b7b 7 <li{% ifequal r.id region_active %} class="active"{% endifequal %}
c1b134f8 8 ><a href="{{ request.get_full_path|change_region:r.id }}">{{ r.nom }}</a></li>
9cb46d12 9 {% endfor %}
10</ul>
11
c55954bf 12<h1>Filtrer par <em>discipline</em></h1>
d15017b2 13<ul>
bae03b7b 14 <li{% if not discipline_active %} class="active"{% endif %}
c1b134f8 15 ><a href="{{ request.get_full_path|change_discipline:'all' }}">Toutes les disciplines</a></li>
d15017b2 16 {% for d in disciplines %}
bae03b7b 17 <li{% ifequal d.id discipline_active %} class="active"{% endifequal %}
c1b134f8 18 ><a href="{{ request.get_full_path|change_discipline:d.id }}">{{ d.nom }}</a></li>
d15017b2
CR
19 {% endfor %}
20</ul>