You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
726B

  1. {% if item is not defined %}
  2. {% set item = entity.instance %}
  3. {% endif %}
  4. {% set ticketMessage = ticket_container.solver.getLastMessage(item) %}
  5. {% if ticketMessage.answerByAdmin != true %}
  6. <span class="badge badge-danger">
  7. New
  8. </span>
  9. {% endif %}
  10. {{ ticketMessage.createdAt|date('d/m/Y H:i') }} par
  11. {% if ticketMessage.answerByAdmin %}
  12. Équipe
  13. {% else %}
  14. Client
  15. {% endif %}
  16. {# {% set ticket = entity.instance %} #}
  17. {# {% if ticket.ticketMessages %} #}
  18. {# {% for message in ticket.ticketMessages %} #}
  19. {# {% if loop.last %} #}
  20. {# {% if message.answerByAdmin %} #}
  21. {# Équipe #}
  22. {# {% else %} #}
  23. {# Client #}
  24. {# {% endif %} #}
  25. {# {% endif %} #}
  26. {# {% endfor %} #}
  27. {# {% endif %} #}