mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-29 20:44:24 +00:00
25 lines
573 B
Django/Jinja
25 lines
573 B
Django/Jinja
{% extends "core/base.jinja" %}
|
|
|
|
{% block title %}
|
|
{% trans %}Eticket list{% endtrans %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<p><a href="{{ url('counter:new_eticket') }}">{% trans %}New eticket{% endtrans %}</a></p>
|
|
{% if eticket_list %}
|
|
<h3>{% trans %}Eticket list{% endtrans %}</h3>
|
|
<ul>
|
|
{% for t in eticket_list %}
|
|
<li><a href="{{ url('counter:edit_eticket', eticket_id=t.id) }}">{{ t }}</a> (Hash: <code>{{ t.secret }}</code>)</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
{% trans %}There is no eticket in this website.{% endtrans %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|