diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index aa8af360..45eba476 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -19,10 +19,8 @@ {% if helpdesk_settings.HELPDESK_USE_CDN %} - - + {% else %} - {% endif %} @@ -34,11 +32,30 @@ + {% if helpdesk_settings.HELPDESK_USE_CDN %} + + {% else %} + {% endif %} + + {% if helpdesk_settings.HELPDESK_USE_CDN %} + + {% else %} + + {% endif %} + + + + {% if helpdesk_settings.HELPDESK_USE_CDN %} + + {% else %} + + {% endif %} + @@ -98,34 +115,9 @@ {% include "helpdesk/debug.html" %} - - - - - - {% if helpdesk_settings.HELPDESK_USE_CDN %} - - {% else %} - - {% endif %} - - - - - - - - - - - - - - - diff --git a/helpdesk/templates/helpdesk/include/stats.html b/helpdesk/templates/helpdesk/include/stats.html index 81c2da03..f9184821 100644 --- a/helpdesk/templates/helpdesk/include/stats.html +++ b/helpdesk/templates/helpdesk/include/stats.html @@ -1,19 +1,41 @@ {% load i18n %} -
- {% trans "Average number of days until ticket is closed (all tickets): " %}{{ basic_ticket_stats.average_nbr_days_until_ticket_closed }}. | |
- {% trans "Average number of days until ticket is closed (tickets opened in last 60 days): " %}{{ basic_ticket_stats.average_nbr_days_until_ticket_closed_last_60_days }}. -{% trans "Click" %} here {% trans "for detailed average by month." %} | |
- {% trans "Distribution of open tickets, grouped by time period:" %} | |
{% trans "Days since opened" %} | {% trans "Number of open tickets" %} |
---|---|
{{ entry.0 }} | -{% if entry.1 > 0 %}{{ entry.1 }}{% else %}{{ entry.1 }}{% endif %} | -
{% trans "Queue" %} | {% trans "Open" %} | {% trans "Resolved" %} | {% trans "Closed" %} |
---|---|---|---|
{{ queue.name }} | -{% if queue.open %}{% endif %}{{ queue.open }}{% if queue.open %}{% endif %} | -{% if queue.resolved %}{% endif %}{{ queue.resolved }}{% if queue.resolved %}{% endif %} | -{% if queue.closed %}{% endif %}{{ queue.closed }}{% if queue.closed %}{% endif %} | -
{% trans "Queue" %} | +{% trans "Open" %} | +{% trans "Resolved" %} | +{% trans "Closed" %} | +||
---|---|---|---|---|---|
{{ queue.name }} | +{% if queue.open %}{% endif %}{{ queue.open }}{% if queue.open %}{% endif %} | +{% if queue.resolved %}{% endif %}{{ queue.resolved }}{% if queue.resolved %}{% endif %} | +{% if queue.closed %}{% endif %}{{ queue.closed }}{% if queue.closed %}{% endif %} | +||
{% trans "There are no unassigned tickets." %} |
# | {% trans "Pr" %} | {% trans "Title" %} | {% trans "Queue" %} | {% trans "Status" %} | {% trans "Last Update" %} |
---|---|---|---|---|---|
{{ ticket.ticket }} | -{{ ticket.priority }} | -{{ ticket.title }} | -{{ ticket.queue }} | -{{ ticket.get_status }} | -{{ ticket.modified|naturaltime }} | -
{{ ticket_list_empty_message }} |
# | +{% trans "Pr" %} | +{% trans "Title" %} | +{% trans "Queue" %} | +{% trans "Status" %} | +{% trans "Last Update" %} | +||||||
---|---|---|---|---|---|---|---|---|---|---|---|
{{ ticket.ticket }} | +{{ ticket.priority }} | +{{ ticket.title }} | +{{ ticket.queue }} | +{{ ticket.get_status }} | +{{ ticket.modified|naturaltime }} | +||||||
{{ ticket_list_empty_message }} | {% else %}{% trans "You do not have any pending tickets." %} | {% endif %}
# | {% trans "Pr" %} | {% trans "Title" %} | {% trans "Queue" %} | {% trans "Created" %} | |
---|---|---|---|---|---|
{{ ticket.ticket }} | -{{ ticket.priority }} | -{{ ticket.title }} | -{{ ticket.queue }} | -{{ ticket.created|naturaltime }} | -| | -
{% trans "There are no unassigned tickets." %} |
# | +{% trans "Pr" %} | +{% trans "Title" %} | +{% trans "Queue" %} | +{% trans "Created" %} | ++ |
---|---|---|---|---|---|
{{ ticket.ticket }} | +{{ ticket.priority }} | +{{ ticket.title }} | +{{ ticket.queue }} | +{{ ticket.created|naturaltime }} | +| | +
{% trans "There are no unassigned tickets." %} |
{% trans "You haven't created any tickets yet, so you cannot run any reports." %}
{% else %} -{% trans "Average number of days until ticket is closed (all tickets): " %} | +{{ basic_ticket_stats.average_nbr_days_until_ticket_closed }}. | +
{% trans "Average number of days until ticket is closed (tickets opened in last 60 days): " %} | +{{ basic_ticket_stats.average_nbr_days_until_ticket_closed_last_60_days }}. {% trans "Click" %} here {% trans "for detailed average by month." %} | +
{% trans "Queue" %} | +{% trans "Open" %} | +{% trans "Resolved" %} | +{% trans "Closed" %} | +||
---|---|---|---|---|---|
{{ queue.name }} | +{% if queue.open %}{% endif %}{{ queue.open }}{% if queue.open %}{% endif %} | +{% if queue.resolved %}{% endif %}{{ queue.resolved }}{% if queue.resolved %}{% endif %} | +{% if queue.closed %}{% endif %}{{ queue.closed }}{% if queue.closed %}{% endif %} | +||
{% trans "There are no unassigned tickets." %} |
{% trans "You can run this query on filtered data by using one of your saved queries." %}
{% if forloop.first %}{{ h|title }}{% else %}{{ h }}{% endif %} | {% endfor %}
---|
{{ f }} | {% endfor %}
{% if forloop.first %}{{ h|title }}{% else %}{{ h }}{% endif %} | {% endfor %} +
---|
{{ f }} | {% endfor %} +