Commit | Line | Data |
---|---|---|
626048e1 AD |
1 | {% extends "base.html" %} |
2 | {% load static %} | |
3 | ||
9e60ac4d AD |
4 | {% block sidebar %} |
5 | <ul class="nav nav-tabs nav-stacked"> | |
6 | <li {% if sidebar == 'list' %}class="active"{% endif %}> | |
7 | <a href="{% url 'accounts:group-list' %}">Tous les groupes</a> | |
8 | </li> | |
9 | </ul> | |
10 | {% if group %} | |
11 | <h3>{{ group }}</h3> | |
12 | <ul class="nav nav-tabs nav-stacked"> | |
13 | <li {% if sidebar == 'home' %}class="active"{% endif %}> | |
7eb52156 | 14 | <a href="{% url 'accounts:group-home' group.short %}">Fiche</a> |
9e60ac4d AD |
15 | </li> |
16 | <li {% if sidebar == 'directory' %}class="active"{% endif %}> | |
7eb52156 | 17 | <a href="{% url 'accounts:group-directory' group.short %}">Annuaire</a> |
9e60ac4d AD |
18 | </li> |
19 | </ul> | |
20 | {% endif %} | |
626048e1 | 21 | {% endblock %} |