URL custom fields are now hyperlinked when viewing tickets.

This commit is contained in:
Ross Poulton 2011-05-10 07:55:06 +10:00
parent f4864ef34d
commit 2a7b76661e

View File

@ -38,7 +38,7 @@
{% for customfield in ticket.ticketcustomfieldvalue_set.all %}
<tr class='{% cycle rowcolors %}'>
<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 class='{% cycle rowcolors %}'>