From f7a3c5dff0da19e6bd737c51187a1f5aa7373c67 Mon Sep 17 00:00:00 2001 From: Guilherme Salgado Date: Wed, 23 Feb 2011 06:34:40 +0000 Subject: Remove unused templates and some code for processing them These seem to be what was used in the past to archive/unarchive and delete patches. Signed-off-by: Guilherme Salgado Signed-off-by: Jeremy Kerr --- templates/patchwork/patch-form.html | 91 ------------------------------------- templates/patchwork/patch-list.html | 9 ---- templates/patchwork/patch.html | 33 -------------- templates/patchwork/patchlist.html | 37 --------------- 4 files changed, 170 deletions(-) delete mode 100644 templates/patchwork/patch-form.html delete mode 100644 templates/patchwork/patchlist.html (limited to 'templates') diff --git a/templates/patchwork/patch-form.html b/templates/patchwork/patch-form.html deleted file mode 100644 index aae673a..0000000 --- a/templates/patchwork/patch-form.html +++ /dev/null @@ -1,91 +0,0 @@ - -
- -
-

Properties

- - - - - - - - - - - - -
Change state:{{ patchform.state }}
Delegate to: - {{ patchform.delegate }}
- -
- -
- -
-

Actions

- - - - - - - - - -{% if bundles %} - - - - -{% endif %} - - - - -
Ack: -
- {% csrf_token %} - - -
-
Create bundle: - {% if createbundleform.name.errors %} - {{createbundleform.errors}} - {% endif %} -
- {% csrf_token %} - - {{ createbundleform.name }} - -
-
Add to bundle: -
- {% csrf_token %} - - - - -
-
Archive: -
- {% csrf_token %} - - -
-
- - -
- -
-
-
- diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index fe4d606..43e0550 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -198,15 +198,6 @@

Bundling

-
Create bundle: diff --git a/templates/patchwork/patch.html b/templates/patchwork/patch.html index b9addc6..25c9962 100644 --- a/templates/patchwork/patch.html +++ b/templates/patchwork/patch.html @@ -127,19 +127,6 @@ function toggle_headers(link_id, headers_id)

Bundling

-
Create bundle: @@ -180,26 +167,6 @@ function toggle_headers(link_id, headers_id) {% endif %} -{% if actionsform %} -
-

Actions

- - - - - -
Ack: -
- {% csrf_token %} - - -
-
- -
- -{% endif %}
diff --git a/templates/patchwork/patchlist.html b/templates/patchwork/patchlist.html deleted file mode 100644 index d6709cd..0000000 --- a/templates/patchwork/patchlist.html +++ /dev/null @@ -1,37 +0,0 @@ - -{% load person %} - -{% if patches %} -
-{% csrf_token %} - - - {% if patchform %} - - - - - - {% for patch in patches %} - - {% if patchform %} - - {% endif %} - - - - - - {% endfor %} -
- {% endif %} - PatchDateSubmitterState
- - - {{ patch.name }}{{ patch.date|date:"Y-m-d" }}{{ patch.submitter|personify }}{{ patch.state }}
- -{% include "patchwork/patch-form.html" %} - -{% else %} -

No patches to display

-{% endif %} -- cgit v1.2.3