]> git.0d.be Git - django-panik-nonstop.git/blob - nonstop/templates/nonstop/zones.html
add page with list of zones, to access settings
[django-panik-nonstop.git] / nonstop / templates / nonstop / zones.html
1 {% extends "base.html" %}
2 {% load i18n %}
3
4 {% block appbar %}
5 <h2>Nonstop - Zones</h2>
6 {% endblock %}
7
8 {% block more-user-links %}
9 {{ block.super }}
10 <a href="{% url 'nonstop-quick-links' %}">Gestion nonstop</a>
11 {% endblock %}
12
13 {% block content %}
14
15 <div class="section">
16 <ul class="objects-list single-links">
17 {% for zone in object_list %}
18 <li {% if zone.start == zone.end %}class="disabled"{% endif %}
19         ><a href="{% url 'zone-settings' slug=zone.slug %}"><span class="tag">{{zone.start}} → {{zone.end}}</span>
20                 {{ zone.title }}
21                 {% if zone.start == zone.end %}<span class="extra-info disabled-zone">(zone désactivée)</span>{% endif %}</a></li>
22 {% endfor %}
23 </ul>
24 </div>
25
26 {% endblock %}