<atype="button"href="{% url 'tickets:change-ticket-status' ticket.id %}"class="btn btn-success"><p>{% trans "Mark as solved" %}</p></a>
<aclass="btn btn-success btn-sm"role="button"href="{% url 'tickets:change-ticket-status' ticket.id %}"><iclass="fa fa-check"></i> {% trans "Mark as solved" %}</a>
{% else %}
{% else %}
<atype="button"href="{% url 'tickets:change-ticket-status' ticket.id %}"class="btn btn-warning"><p>{% trans "Mark as unsolved" %}</p></a>
<aclass="btn btn-warning btn-sm"role="button"href="{% url 'tickets:change-ticket-status' ticket.id %}"><iclass="fa fa-close"></i> {% trans "Mark as unsolved" %}</a>
{% endif %}
{% endif %}
{% acl_end %}
{% acl_end %}
{% history_button ticket text=True %}
</div>
</div>
</div>
</div>
<divclass="panel-body">
<p><b>{% trans "Title:" %}</b> {{ticket.title}}</p>
<b>{% trans "Description:" %}</b> {{ ticket.description | linebreaks }}
</div>
</div>
{% for comment in comments %}
<divclass="panel-footer">
<p><spanclass="badge">{% trans "Comment " %}<b>#{{comment.comment_id}}</b></span> {% trans " added by " %}{{ comment.created_by.get_full_name }}{% trans " on " %} {{comment.created_at}}</p>
<b>{% trans "Description:" %}</b> {{ comment.comment | linebreaks }}
<divclass="text-right">
{% can_edit comment %}
<aclass="btn btn-info btn-sm"role="button"href="{% url 'tickets:edit-comment' comment.id %}"><iclass="fa fa-edit"></i> {% trans "Edit this comment " %}</a>
{% acl_end %}
{% can_delete comment %}
<aclass="btn btn-danger btn-sm"role="button"href="{% url 'tickets:del-comment' comment.id %}"><iclass="fa fa-close"></i> {% trans "Delete this comment " %}</a>
{% acl_end %}
{% history_button comment text=True %}
</div>
</div>
{% endfor %}
</div>
<divclass="text-right">
<divclass="text-right">
<atype="button"href="{% url 'tickets:aff-tickets' %}"class="btn btn-primary"><p>{% trans "All tickets" %}</p></a>
<aclass="btn btn-primary"role="button"href="{% url 'tickets:aff-tickets' %}"><iclass="fa fa-reorder"></i> {% trans "All tickets" %}</a>
The ticket {{ comment.parent_ticket.title | safe }} n°{{ comment.parent_ticket.id }}, opened by {{ comment.parent_ticket.opened_by }}, has been updated by {{ comment.created_by.get_full_name | safe }}.
{% if comment.parent_ticket.user %}
The complete re2o profil can be found here : {{site_url}}{% url 'users:profil' comment.parent_ticket.user.id%}
Le ticket {{ comment.parent_ticket.title | safe }} n°{{ comment.parent_ticket.id }}, ouvert par {{ comment.parent_ticket.opened_by }}, a reçu une mise à jour par {{ comment.created_by.get_full_name | safe }}.
{% if comment.parent_ticket.user %}
Le profil re2o est accessible à l'adresse suivante : {{site_url}}{% url 'users:profil' comment.parent_ticket.user.id%}