diff --git a/helpdesk/settings.py b/helpdesk/settings.py index d5bef863..d4c5bd7e 100644 --- a/helpdesk/settings.py +++ b/helpdesk/settings.py @@ -122,9 +122,6 @@ HELPDESK_CREATE_TICKET_HIDE_ASSIGNED_TO = getattr(settings, 'HELPDESK_CREATE_TIC ''' options for dashboard ''' -# show delete button next to unassigned tickets -HELPDESK_DASHBOARD_SHOW_DELETE_UNASSIGNED = getattr(settings, 'HELPDESK_DASHBOARD_SHOW_DELETE_UNASSIGNED', True) - # hide empty queues in dashboard overview? HELPDESK_DASHBOARD_HIDE_EMPTY_QUEUES = getattr(settings, 'HELPDESK_DASHBOARD_HIDE_EMPTY_QUEUES', True) diff --git a/helpdesk/templates/helpdesk/dashboard.html b/helpdesk/templates/helpdesk/dashboard.html index 4e4325a0..fdc524ef 100644 --- a/helpdesk/templates/helpdesk/dashboard.html +++ b/helpdesk/templates/helpdesk/dashboard.html @@ -113,7 +113,7 @@ {{ ticket.title }} {{ ticket.queue }} {{ ticket.created|timesince }} ago -{% trans "Take" %} {% if helpdesk_settings.HELPDESK_DASHBOARD_SHOW_DELETE_UNASSIGNED %}| {% trans "Delete" %}{% endif %} +{% trans "Take" %} | {% trans "Delete" %} {% endfor %} {% if not unassigned_tickets %}