mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-26 16:48:50 +01:00
add default empty when a ticket custom field value is null
This commit is contained in:
parent
49735dbcda
commit
41c1e765c2
@ -21,7 +21,7 @@
|
||||
{% for customfield in ticket.ticketcustomfieldvalue_set.all %}
|
||||
<tr>
|
||||
<th class="table-secondary">{{ customfield.field.label }}</th>
|
||||
<td>{% ifequal customfield.field.data_type "url" %}<a href='{{ customfield.value }}'>{{ customfield.value }}</a>{% else %}{{ customfield.value }}{% endifequal %}</td>
|
||||
<td>{% ifequal customfield.field.data_type "url" %}<a href='{{ customfield.value }}'>{{ customfield.value }}</a>{% else %}{{ customfield.value|default:"" }}{% endifequal %}</td>
|
||||
</tr>{% endfor %}
|
||||
<tr>
|
||||
<th class="table-active">{% trans "Due Date" %}</th>
|
||||
|
Loading…
Reference in New Issue
Block a user