mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-28 01:28:51 +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 %}
|
{% for customfield in ticket.ticketcustomfieldvalue_set.all %}
|
||||||
<tr>
|
<tr>
|
||||||
<th class="table-secondary">{{ customfield.field.label }}</th>
|
<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>{% endfor %}
|
||||||
<tr>
|
<tr>
|
||||||
<th class="table-active">{% trans "Due Date" %}</th>
|
<th class="table-active">{% trans "Due Date" %}</th>
|
||||||
|
Loading…
Reference in New Issue
Block a user