{% extends "helpdesk/base.html" %} {% block helpdesk_title %}{% trans "Helpdesk Dashboard" %}{% endblock %} {% block helpdesk_body %}

{% if request.user.is_staff %} {% 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." %} {% else %} {% trans "Welcome to your Helpdesk Dashboard! From here you can quickly see tickets submitted by you, and tickets you are working on." %} {% endif %}

{% if request.user.is_staff %} {% include 'helpdesk/include/summary.html' %} {% include 'helpdesk/include/stats.html' %} {% endif %} {% if all_tickets_reported_by_current_user %} {% 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="" %} {% endif %} {% 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 %} {% if request.user.is_staff %} {% include 'helpdesk/include/unassigned.html' %} {% endif %} {% if user_tickets_closed_resolved %} {% 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="" %} {% endif %} {% endblock %}