From 3e2803f3e8723c121f751bb0d0c8c1d38b80b04c Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 5 Oct 2008 05:16:08 +0000 Subject: [PATCH] [1.0.x] Fixed #9141 -- Removed two templates from django.contrib.comments that were not being used. Backport of r9115 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9122 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../comments/templates/comments/reply.html | 19 ----------- .../templates/comments/reply_preview.html | 34 ------------------- 2 files changed, 53 deletions(-) delete mode 100644 django/contrib/comments/templates/comments/reply.html delete mode 100644 django/contrib/comments/templates/comments/reply_preview.html diff --git a/django/contrib/comments/templates/comments/reply.html b/django/contrib/comments/templates/comments/reply.html deleted file mode 100644 index a36cdee595..0000000000 --- a/django/contrib/comments/templates/comments/reply.html +++ /dev/null @@ -1,19 +0,0 @@ -{% load comments %} -
- {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% else %} - - {% endif %} - {% endfor %} -

- - -

-
diff --git a/django/contrib/comments/templates/comments/reply_preview.html b/django/contrib/comments/templates/comments/reply_preview.html deleted file mode 100644 index 0947476865..0000000000 --- a/django/contrib/comments/templates/comments/reply_preview.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "comments/base.html" %} - -{% block title %}Preview your comment{% endblock %} - -{% block content %} - {% load comments %} -
- {% if form.errors %} -

Please correct the error{{ form.errors|pluralize }} below

- {% else %} -

Preview your comment

-
{{ comment|linebreaks }}
-

- and or make changes: -

- {% endif %} - {% for field in form %} - {% if field.is_hidden %} - {{ field }} - {% else %} - - {% endif %} - {% endfor %} -

- - -

-
-{% endblock %}