From cf34d1f6870b0651c52f50a670f31f33201cd7a3 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 5 Oct 2008 05:04:56 +0000 Subject: [PATCH] Fixed #9141 -- Removed two templates from django.contrib.comments that were not being used. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9115 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 %}