{% for ticket in tickets %} #{{ ticket.id }} {{ ticket.title }}
{{ ticket.description }} {{ ticket.reported_by.name }} {% if ticket.status == 'nou' %} Nou (Deschis) {% elif ticket.status == 'in_lucru' %} În lucru {% elif ticket.status == 'in_asteptare' %} În așteptare {% elif ticket.status == 'solutionat' %} Soluționat {% else %} Închis {% endif %} {% if ticket.priority == 'scazuta' %} Scăzută {% elif ticket.priority == 'medie' %} Medie {% elif ticket.priority == 'ridicata' %} Ridicată {% else %} Critică {% endif %} {{ ticket.created_at|date:"d.m.Y H:i" }} {% empty %} Nu au fost găsite tichete de suport. {% endfor %}