mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-27 17:18:50 +01:00
settings.py cleanup (#200) - remove HELPDESK_DASHBOARD_BASIC_TICKET_STATS, always shows now. This resolves #201 to my satisfaction for now.
This commit is contained in:
parent
99e9bd33d8
commit
66da47205e
@ -121,13 +121,6 @@ HELPDESK_CREATE_TICKET_HIDE_ASSIGNED_TO = getattr(settings, 'HELPDESK_CREATE_TIC
|
||||
|
||||
|
||||
|
||||
''' options for dashboard '''
|
||||
# show basic ticket stats on dashboard?
|
||||
HELPDESK_DASHBOARD_BASIC_TICKET_STATS = getattr(settings, 'HELPDESK_DASHBOARD_BASIC_TICKET_STATS', False)
|
||||
|
||||
|
||||
|
||||
|
||||
''' options for footer '''
|
||||
# show 'API' link at bottom of page
|
||||
HELPDESK_FOOTER_SHOW_API_LINK = getattr(settings, 'HELPDESK_FOOTER_SHOW_API_LINK', True)
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
|
||||
|
||||
{% if helpdesk_settings.HELPDESK_DASHBOARD_BASIC_TICKET_STATS %}
|
||||
<br style='clear: both;' />
|
||||
|
||||
<table class="table table-hover table-bordered">
|
||||
@ -54,7 +53,6 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if all_tickets_reported_by_current_user %}
|
||||
|
@ -82,9 +82,6 @@ def dashboard(request):
|
||||
submitter_email=email_current_user,
|
||||
).order_by('status')
|
||||
|
||||
# calculate basic ticket stats if requested
|
||||
basic_ticket_stats = False
|
||||
if helpdesk_settings.HELPDESK_DASHBOARD_BASIC_TICKET_STATS:
|
||||
basic_ticket_stats = calc_basic_ticket_stats(Ticket)
|
||||
|
||||
# The following query builds a grid of queues & ticket statuses,
|
||||
|
Loading…
Reference in New Issue
Block a user