|
123456789101112131415161718192021222324252627282930313233 |
- {% macro list_tickets(tickets) %}
- <table class="table table-condensed">
- <thead>
- <tr>
- <th>Sujet</th>
- <th>Statut</th>
- <th>Dernier message</th>
- <th>Actions</th>
- </tr>
- </thead>
- <tbody>
- {% for ticket in tickets %}
- <tr>
- <td>{{ ticket.subject }}</td>
- <td>
- {% set value = ticket.status %}
- {% include '@LcSov/admin/ticket/field/status.html.twig' with {status: ticket.status}%}
- </td>
- <td>
- {% set item = ticket %}
- {% include '@LcSov/admin/ticket/field/lastmessage.html.twig' %}
- </td>
- <td>
- <a class="btn-sm btn-success" data-toggle="tooltip" title="{{ 'detail'|sov_trans_admin_action }}"
- href="{{ ea_url_short("App\\Controller\\Ticket\\TicketAdminController", 'detail', ticket.id) }}">
- <i class="fas fa-eye"></i>
- </a>
- </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endmacro list_tickets %}
|