mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2025-01-28 08:48:43 +01:00
URL custom fields are now hyperlinked when viewing tickets.
This commit is contained in:
parent
f4864ef34d
commit
2a7b76661e
@ -38,7 +38,7 @@
|
|||||||
{% for customfield in ticket.ticketcustomfieldvalue_set.all %}
|
{% for customfield in ticket.ticketcustomfieldvalue_set.all %}
|
||||||
<tr class='{% cycle rowcolors %}'>
|
<tr class='{% cycle rowcolors %}'>
|
||||||
<th>{{ customfield.field.label }}</th>
|
<th>{{ customfield.field.label }}</th>
|
||||||
<td>{{ customfield.value }}</td>
|
<td>{% ifequal customfield.field.data_type "url" %}<a href='{{ customfield.value }}'>{{ customfield.value }}</a>{% else %}{{ customfield.value }}{% endifequal %}</td>
|
||||||
</tr>{% endfor %}
|
</tr>{% endfor %}
|
||||||
|
|
||||||
<tr class='{% cycle rowcolors %}'>
|
<tr class='{% cycle rowcolors %}'>
|
||||||
|
Loading…
Reference in New Issue
Block a user