2014-07-22 19:27:37 +02:00
{% extends "helpdesk/base.html" %}{% load i18n %}
2018-09-02 11:27:39 +02:00
2014-01-29 12:30:26 +01:00
{% block helpdesk_title %}{% trans "Helpdesk Dashboard" %}{% endblock %}
2014-07-21 20:19:23 +02:00
2018-09-02 10:36:16 +02:00
{% block helpdesk_breadcrumb %}
< li class = "breadcrumb-item" >
< a href = "#" > Dashboard< / a >
< / li >
< li class = "breadcrumb-item active" > Overview< / li >
{% endblock %}
2007-12-27 01:29:17 +01:00
{% block helpdesk_body %}
2008-08-12 01:24:18 +02:00
2016-09-27 20:36:52 +02:00
< div class = "row" >
< div class = "col-lg-8" >
{% include 'helpdesk/include/stats.html' %}
< / div >
< div class = "col-lg-4" >
< div class = "alert alert-warning" >
< p > {% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see tickets submitted by you, tickets you are working on, and those tickets that have no owner." %}< / p >
< / div >
< / div >
2013-11-25 16:51:14 +01:00
< / div >
2011-11-29 14:08:08 +01:00
{% if all_tickets_reported_by_current_user %}
2014-07-22 19:20:40 +02:00
{% trans "All Tickets submitted by you" as ticket_list_caption %}
{% include 'helpdesk/include/tickets.html' with ticket_list=all_tickets_reported_by_current_user ticket_list_empty_message="" %}
2011-11-29 14:08:08 +01:00
{% endif %}
2014-07-22 19:20:40 +02:00
{% trans "Open Tickets assigned to you (you are working on this ticket)" as ticket_list_caption %}
{% trans "You have no tickets assigned to you." as no_assigned_tickets %}
{% include 'helpdesk/include/tickets.html' with ticket_list=user_tickets ticket_list_empty_message=no_assigned_tickets %}
2007-12-27 01:29:17 +01:00
2014-07-22 19:20:40 +02:00
{% include 'helpdesk/include/unassigned.html' %}
2011-11-19 09:34:07 +01:00
{% if user_tickets_closed_resolved %}
2014-07-22 19:20:40 +02:00
{% trans "Closed & resolved Tickets you used to work on" as ticket_list_caption %}
{% include 'helpdesk/include/tickets.html' with ticket_list=user_tickets_closed_resolved ticket_list_empty_message="" %}
2011-11-19 09:34:07 +01:00
{% endif %}
2007-12-27 01:29:17 +01:00
{% endblock %}