From 77c6008b9a970ba266023d2ded91b17e328db4c6 Mon Sep 17 00:00:00 2001 From: Oriane Chagnon Date: Mon, 30 Apr 2012 18:08:42 -0300 Subject: [PATCH 1/4] remove closing tags for unopened
. and close
--- helpdesk/templates/helpdesk/followup_edit.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helpdesk/templates/helpdesk/followup_edit.html b/helpdesk/templates/helpdesk/followup_edit.html index d25d73c7..f7ba1eb0 100644 --- a/helpdesk/templates/helpdesk/followup_edit.html +++ b/helpdesk/templates/helpdesk/followup_edit.html @@ -15,16 +15,15 @@
{{ 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 %} From 88d6b61a2e89c5e7f7103dcb86640c88121df36f Mon Sep 17 00:00:00 2001 From: Oriane Chagnon Date: Mon, 30 Apr 2012 18:34:09 -0300 Subject: [PATCH 2/4] remove closing tag for unopened + {% if field.help_text %}
{{ field.help_text }}
{% endif %} {% endif %} {% endfor %} From b42e619b7ffc0ebb4d9c09781d10490d95d912bb Mon Sep 17 00:00:00 2001 From: Oriane Chagnon Date: Mon, 30 Apr 2012 19:28:19 -0300 Subject: [PATCH 3/4] close ul BEFORE closing div --- helpdesk/templates/helpdesk/public_view_ticket.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/templates/helpdesk/public_view_ticket.html b/helpdesk/templates/helpdesk/public_view_ticket.html index f6c5983e..bbb21a89 100644 --- a/helpdesk/templates/helpdesk/public_view_ticket.html +++ b/helpdesk/templates/helpdesk/public_view_ticket.html @@ -66,7 +66,7 @@
  • {{ attachment.filename }} ({{ attachment.mime_type }}, {{ attachment.size|filesizeformat }})
  • {% if forloop.last %}{% endif %} {% endfor %} -{% endif %} +{% endif %} {% endfor %} {% endif %} From 2436cbeca2ad232060051947826fa55b1acaf87f Mon Sep 17 00:00:00 2001 From: Oriane Chagnon Date: Mon, 30 Apr 2012 19:31:13 -0300 Subject: [PATCH 4/4] close ul BEFORE closing div --- helpdesk/templates/helpdesk/ticket.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpdesk/templates/helpdesk/ticket.html b/helpdesk/templates/helpdesk/ticket.html index 8ef343de..b4c30e6a 100644 --- a/helpdesk/templates/helpdesk/ticket.html +++ b/helpdesk/templates/helpdesk/ticket.html @@ -90,7 +90,7 @@ function googleTranslateElementInit() { {% for change in followup.ticketchange_set.all %} {% if forloop.first %}
      {% endif %}
    • {% blocktrans with change.field as field and change.old_value as old_value and change.new_value as new_value %}Changed {{ field }} from {{ old_value }} to {{ new_value }}.{% endblocktrans %}
    • -{% if forloop.last %}
    {% endif %} +{% if forloop.last %}{% endif %} {% endfor %} {% for attachment in followup.attachment_set.all %}{% if forloop.first %}