mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-05 09:26:27 +00:00
affichage des tickets sans user et adresse de reponse
This commit is contained in:
parent
2650065787
commit
22c311c1ec
1 changed files with 11 additions and 4 deletions
|
@ -35,11 +35,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
{% trans "Opened by" %}
|
{% trans "Opened by" %}
|
||||||
<a href="{% url 'users:profil' ticket.user.id%}">
|
{% if ticket.user %}
|
||||||
{{ ticket.user.get_full_name }}
|
<a href="{% url 'users:profil' ticket.user.id%}">
|
||||||
</a>
|
{{ ticket.user.get_full_name }}
|
||||||
|
</a>
|
||||||
|
{% else %}
|
||||||
|
{% trans "Anonymous User" %}
|
||||||
|
{% endif %}
|
||||||
{{ ticket.date | naturalday}}.
|
{{ ticket.date | naturalday}}.
|
||||||
|
{% if not ticket.user %}
|
||||||
|
{% trans "Response address: " %}<A HREF="mailto:{{ticket.email}}?subject={% trans "Response to your ticket"%}&cc=cableurs@crans.org">{{ticket.email}}</A>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue