diff --git a/helpdesk/models.py b/helpdesk/models.py index 9a34a585..faa1e601 100644 --- a/helpdesk/models.py +++ b/helpdesk/models.py @@ -230,12 +230,14 @@ class Ticket(models.Model): REOPENED_STATUS = 2 RESOLVED_STATUS = 3 CLOSED_STATUS = 4 + DUPLICATE_STATUS = 5 STATUS_CHOICES = ( (OPEN_STATUS, _('Open')), (REOPENED_STATUS, _('Reopened')), (RESOLVED_STATUS, _('Resolved')), (CLOSED_STATUS, _('Closed')), + (DUPLICATE_STATUS, _('Duplicate')), ) PRIORITY_CHOICES = ( diff --git a/helpdesk/templates/helpdesk/base.html b/helpdesk/templates/helpdesk/base.html index 58278b0b..aad40318 100644 --- a/helpdesk/templates/helpdesk/base.html +++ b/helpdesk/templates/helpdesk/base.html @@ -41,7 +41,7 @@
  • {% trans "Stats" %}
  • {% if user_saved_queries_ %}
  • Load Saved Query
  • - {% endif %} + {% endif %}
  • {% trans "Logout" %}
  • {% if not query %}
  • {% csrf_token %}
  • {% endif %} diff --git a/helpdesk/templates/helpdesk/ticket.html b/helpdesk/templates/helpdesk/ticket.html index 653a2f55..04731ca9 100644 --- a/helpdesk/templates/helpdesk/ticket.html +++ b/helpdesk/templates/helpdesk/ticket.html @@ -85,12 +85,14 @@ {% ifequal ticket.status 1 %}
    » » -
    + » + {% endifequal %} {% ifequal ticket.status 2 %}
    » » -
    + » + {% endifequal %} {% ifequal ticket.status 3 %}
    « @@ -101,6 +103,10 @@
    «
    {% endifequal %} + {% ifequal ticket.status 5 %} +
    « +
    + {% endifequal %}
    (Optional)