diff --git a/helpdesk/templates/helpdesk/followup_edit.html b/helpdesk/templates/helpdesk/followup_edit.html index 9ef48ff9..0afff6e8 100644 --- a/helpdesk/templates/helpdesk/followup_edit.html +++ b/helpdesk/templates/helpdesk/followup_edit.html @@ -9,29 +9,47 @@ {% endblock helpdesk_head %} +{% block helpdesk_breadcrumb %} + + + +{% endblock %} + {% block helpdesk_body %} {% include "helpdesk/ticket_desc_table.html" %} -

{% trans "Edit FollowUp" %}

-
- {{ form.non_field_errors }} -
-
-
-
{{ form.ticket }}
-
-
{{ form.title }}
-
-
{{ form.comment }}
-
-
{{ form.public }}
-

Public tickets are viewable by the submitter and all staff, but non-public tickets can only be seen by staff.

-
-
{{ form.new_status }}
-

If the status was changed, what was it changed to?

-
-
-

{% csrf_token %} -
-{% endblock helpdesk_body %} \ No newline at end of file +
+
+ {% trans "Edit FollowUp" %} +
+
+
+ {{ form.non_field_errors }} +
+
+
+
{{ form.ticket }}
+
+
{{ form.title }}
+
+
{{ form.comment }}
+
+
{{ form.public }}
+

Public tickets are viewable by the submitter and all staff, but non-public tickets can only be seen by staff.

+
+
{{ form.new_status }}
+

If the status was changed, what was it changed to?

+
+
+

{% csrf_token %} +
+
+
+{% endblock helpdesk_body %} diff --git a/helpdesk/templates/helpdesk/ticket.html b/helpdesk/templates/helpdesk/ticket.html index 261c8a47..a1b6bb7b 100644 --- a/helpdesk/templates/helpdesk/ticket.html +++ b/helpdesk/templates/helpdesk/ticket.html @@ -32,23 +32,20 @@ {% if ticket.followup_set.all %} {% load ticket_to_link %} -
-
-

 {% trans "Follow-Ups" %}

-
- -
- + + {% endfor %} +
+ +
+ - - - + {% endif %} {% if helpdesk_settings.HELPDESK_TRANSLATE_TICKET_COMMENTS %} {% endif %} -
-

{% trans "Respond to this ticket" %}

+
+
{% trans "Respond to this ticket" %}
+
@@ -203,6 +200,7 @@ {% csrf_token %}
+
{% endblock %} diff --git a/helpdesk/templates/helpdesk/ticket_desc_table.html b/helpdesk/templates/helpdesk/ticket_desc_table.html index 82c1aba2..72f2c5d1 100644 --- a/helpdesk/templates/helpdesk/ticket_desc_table.html +++ b/helpdesk/templates/helpdesk/ticket_desc_table.html @@ -1,95 +1,85 @@ {% load i18n humanize ticket_to_link %} {% load static from staticfiles %} -
-
-
-
- {% trans "Ticket Summary" %} -
- -
-
- - - - - - - {% for customfield in ticket.ticketcustomfieldvalue_set.all %} - - - - {% endfor %} - - - - - - +
+
+ {% trans "Ticket Summary" %} +
+
+
+

{{ ticket.queue.slug }}-{{ ticket.id }}. {{ ticket.title }} [{{ ticket.get_status }}]

- - | - {% if ticket.on_hold %} | {% else %} | {% endif %} -
{% blocktrans with ticket.queue as queue %}Queue: {{ queue }}{% endblocktrans %}
{{ customfield.field.label }}{% ifequal customfield.field.data_type "url" %}{{ customfield.value }}{% else %}{{ customfield.value }}{% endifequal %}
{% trans "Description" %}
{{ ticket.description|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }}
+ + + + + + {% for customfield in ticket.ticketcustomfieldvalue_set.all %} + + + + {% endfor %} + + + + + + - {% if ticket.resolution %} - - - - - {% endif %} + {% if ticket.resolution %} + + + + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

{{ ticket.queue.slug }}-{{ ticket.id }}. {{ ticket.title }} [{{ ticket.get_status }}]

+ + | + {% if ticket.on_hold %} | {% else %} | {% endif %} +
{% blocktrans with ticket.queue as queue %}Queue: {{ queue }}{% endblocktrans %}
{{ customfield.field.label }}{% ifequal customfield.field.data_type "url" %}{{ customfield.value }}{% else %}{{ customfield.value }}{% endifequal %}
{% trans "Description" %}
{{ ticket.description|force_escape|urlizetrunc:50|num_to_link|linebreaksbr }}
{% trans "Resolution" %}{% ifequal ticket.get_status_display "Resolved" %} {% endifequal %}
{{ ticket.resolution|force_escape|urlizetrunc:50|linebreaksbr }}
{% trans "Resolution" %}{% ifequal ticket.get_status_display "Resolved" %} {% endifequal %}
{{ ticket.resolution|force_escape|urlizetrunc:50|linebreaksbr }}
{% trans "Due Date" %}{{ ticket.due_date|date:"r" }} ({{ ticket.due_date|naturaltime }})
{% trans "Submitted On" %}{{ ticket.created|date:"r" }} ({{ ticket.created|naturaltime }})
{% trans "Assigned To" %}{{ ticket.get_assigned_to }}{% ifequal ticket.get_assigned_to _('Unassigned') %} {% endifequal %}
{% trans "Submitter E-Mail" %}{{ ticket.submitter_email }} + {% if user.is_superuser %} {% if submitter_userprofile_url %}{% endif %} + {% endif %}
{% trans "Priority" %}{{ ticket.get_priority_display }}
{% trans "Copies To" %}{{ ticketcc_string }} {% if SHOW_SUBSCRIBE %}, {% endif %}
{% trans "Due Date" %}{{ ticket.due_date|date:"r" }} ({{ ticket.due_date|naturaltime }})
{% trans "Submitted On" %}{{ ticket.created|date:"r" }} ({{ ticket.created|naturaltime }})
{% trans "Assigned To" %}{{ ticket.get_assigned_to }}{% ifequal ticket.get_assigned_to _('Unassigned') %} {% endifequal %}
{% trans "Submitter E-Mail" %}{{ ticket.submitter_email }} - {% if user.is_superuser %} {% if submitter_userprofile_url %}{% endif %} - {% endif %}
{% trans "Priority" %}{{ ticket.get_priority_display }}
{% trans "Copies To" %}{{ ticketcc_string }} {% if SHOW_SUBSCRIBE %}, {% endif %}
{% trans "Dependencies" %}{% for dep in ticket.ticketdependency.all %} - {% if forloop.first %}

{% trans "This ticket cannot be resolved until the following ticket(s) are resolved" %}

{% endif %} - {% empty %} -

{% trans "This ticket has no dependencies." %}

- {% endfor %} -

-
-
- -
- -
- -
-
+ + {% trans "Dependencies" %} + {% for dep in ticket.ticketdependency.all %} + {% if forloop.first %}

{% trans "This ticket cannot be resolved until the following ticket(s) are resolved" %}

{% endif %} + {% empty %} +

{% trans "This ticket has no dependencies." %}

+ {% endfor %} +

+ + + + +
+ + + + + diff --git a/helpdesk/templates/helpdesk/ticket_list.html b/helpdesk/templates/helpdesk/ticket_list.html index 30e36e0c..b421cc70 100644 --- a/helpdesk/templates/helpdesk/ticket_list.html +++ b/helpdesk/templates/helpdesk/ticket_list.html @@ -59,7 +59,7 @@ - + {% csrf_token %}
@@ -88,7 +88,7 @@

{% trans "Ordering applied to tickets" %}

- +
@@ -101,32 +101,32 @@ {% endfor %}

{% trans "Ctrl-Click to select multiple options" %}

- +

{% trans "Ctrl-click to select multiple options" %}

- +

{% trans "Ctrl-click to select multiple options" %}

- +

{% trans "Use YYYY-MM-DD date format, eg 2018-01-30" %}

- +

{% trans "Keywords are case-insensitive, and will be looked for in the title, body and submitter fields." %}

- +