2019-07-25 14:44:40 +00:00
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading clearfix profil" data-parent="#accordion" data-toggle="collapse" data-target="#ticket">
|
|
|
|
<h3 class="panel-title pull-left">
|
2019-11-20 00:49:36 +00:00
|
|
|
<i class="fa fa-ticket"></i> {% trans "Tickets" %}
|
2019-07-25 14:44:40 +00:00
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
<div id="ticket" class="panel-collapse collapse">
|
|
|
|
<div class="panel-body">
|
|
|
|
<a class="btn btn-primary btn-sm" role="button" href="{% url 'tickets:new-ticket' %}">
|
2019-11-20 00:49:36 +00:00
|
|
|
<i class="fa fa-ticket"></i> {% trans "Open a ticket" %}
|
2019-07-25 14:44:40 +00:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
{% if tickets_list %}
|
|
|
|
{% include 'tickets/aff_tickets.html' with tickets_list=tickets_list %}
|
|
|
|
{% else %}
|
|
|
|
<p>{% trans "No tickets" %}</p>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|