mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-01-22 05:48:44 +01:00
feat(fields): hide column for time spent
This commit is contained in:
parent
6d5c81ea14
commit
8d626cfd5f
@ -74,7 +74,7 @@
|
|||||||
<th>{% trans "Due Date" %}</th>
|
<th>{% trans "Due Date" %}</th>
|
||||||
<th>{% trans "Owner" %}</th>
|
<th>{% trans "Owner" %}</th>
|
||||||
<th>{% trans "Submitter" %}</th>
|
<th>{% trans "Submitter" %}</th>
|
||||||
<th>{% trans "Time Spent" %}</th>
|
{% if helpdesk_settings.HELPDESK_ENABLE_TIME_SPENT_ON_TICKET %}<th>{% trans "Time Spent" %}</th>{% endif %}
|
||||||
{% if helpdesk_settings.HELPDESK_KB_ENABLED %}<th>{% trans "KB item" %}</th>{% endif %}
|
{% if helpdesk_settings.HELPDESK_KB_ENABLED %}<th>{% trans "KB item" %}</th>{% endif %}
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -408,7 +408,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{data: "submitter"},
|
{data: "submitter"},
|
||||||
|
{% if helpdesk_settings.HELPDESK_ENABLE_TIME_SPENT_ON_TICKET %}
|
||||||
{data: "time_spent", "visible": false},
|
{data: "time_spent", "visible": false},
|
||||||
|
{% endif %}
|
||||||
{% if helpdesk_settings.HELPDESK_KB_ENABLED %}
|
{% if helpdesk_settings.HELPDESK_KB_ENABLED %}
|
||||||
{data: "kbitem"},
|
{data: "kbitem"},
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user