comparison default/ticket/discover.html @ 135:24920d436e77

ticket: basic tickets discovery
author Goffi <goffi@goffi.org>
date Mon, 26 Mar 2018 21:30:04 +0200
parents
children 85877c76d47d
comparison
equal deleted inserted replaced
134:f1d47c2942ae 135:24920d436e77
1 {% extends 'base/base.html' %}
2 {% import 'components/block.html' as block %}
3 {% import 'components/images.html' as images with context %}
4 {% import 'components/avatar.html' as avatar with context %}
5 {% import 'input/form.html' as form with context %}
6 {% import 'input/field.html' as field with context %}
7
8 {% block body %}
9 <p class="instructions--head">
10 {% trans %}
11 Please select a tickets tracker
12 {% endtrans %}
13 </p>
14 {% if tickets_trackers is defined %}
15 {{ icon_defs('clipboard') }}
16 <div class="disco_tickets">
17 <ul class="grid grid--center">
18 {% for tracker in tickets_trackers %}
19 <li class='grid__item grid__item--medium grid__item--selectable'>
20 <a href="{{tracker.url}}" class="items_vert--centered">
21 {{ icon('clipboard', cls='icon--medium') }}
22 <span>{{ tracker.name }}</span>
23 </a>
24 </li>
25 {% endfor %}
26 </ul>
27 </div>
28 {% endif %}
29
30 {% call form.form(class="form_single") %}
31 {{ field.text("jid", _("tickets tracker jid"), required=true)}}
32 {{ field.submit(_("Access")) }}
33 {% endcall %}
34 {% endblock body %}