mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 11:53:12 +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-heading">
|
||||
{% trans "Opened by" %}
|
||||
<a href="{% url 'users:profil' ticket.user.id%}">
|
||||
{{ ticket.user.get_full_name }}
|
||||
</a>
|
||||
{% trans "Opened by" %}
|
||||
{% if ticket.user %}
|
||||
<a href="{% url 'users:profil' ticket.user.id%}">
|
||||
{{ ticket.user.get_full_name }}
|
||||
</a>
|
||||
{% else %}
|
||||
{% trans "Anonymous User" %}
|
||||
{% endif %}
|
||||
{{ 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 class="panel-body">
|
||||
|
||||
|
|
Loading…
Reference in a new issue