From 16d0a615c49830624c026b27607e46fc329ef4f4 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Sun, 5 Oct 2008 05:06:26 +0000 Subject: [PATCH] Fixed #8869 -- Fixed comments templates to be well-formed XHTML. Based on a patch from zgoda. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9117 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- .../contrib/comments/templates/comments/approve.html | 4 ++-- django/contrib/comments/templates/comments/delete.html | 4 ++-- django/contrib/comments/templates/comments/flag.html | 4 ++-- .../comments/templates/comments/moderation_queue.html | 10 +++++----- .../contrib/comments/templates/comments/preview.html | 6 +++--- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/django/contrib/comments/templates/comments/approve.html b/django/contrib/comments/templates/comments/approve.html index af7858da63..e07f74eedf 100644 --- a/django/contrib/comments/templates/comments/approve.html +++ b/django/contrib/comments/templates/comments/approve.html @@ -6,9 +6,9 @@

Really make this comment public?

{{ comment|linebreaks }}
- +

- or cancel + or cancel

{% endblock %} diff --git a/django/contrib/comments/templates/comments/delete.html b/django/contrib/comments/templates/comments/delete.html index 148fcdec90..917a638bc3 100644 --- a/django/contrib/comments/templates/comments/delete.html +++ b/django/contrib/comments/templates/comments/delete.html @@ -6,9 +6,9 @@

Really remove this comment?

{{ comment|linebreaks }}
- +

- or cancel + or cancel

{% endblock %} diff --git a/django/contrib/comments/templates/comments/flag.html b/django/contrib/comments/templates/comments/flag.html index b6905f2915..9f694773a2 100644 --- a/django/contrib/comments/templates/comments/flag.html +++ b/django/contrib/comments/templates/comments/flag.html @@ -6,9 +6,9 @@

Really flag this comment?

{{ comment|linebreaks }}
- +

- or cancel + or cancel

{% endblock %} diff --git a/django/contrib/comments/templates/comments/moderation_queue.html b/django/contrib/comments/templates/comments/moderation_queue.html index 8f09b2f05d..7cb3c62583 100644 --- a/django/contrib/comments/templates/comments/moderation_queue.html +++ b/django/contrib/comments/templates/comments/moderation_queue.html @@ -23,7 +23,7 @@ {% block content %} {% if empty %} -

No comments to moderate. +

No comments to moderate.

{% else %}
@@ -45,12 +45,12 @@
- - + +
- - + +
{{ comment.name }} diff --git a/django/contrib/comments/templates/comments/preview.html b/django/contrib/comments/templates/comments/preview.html index 0947476865..273e373583 100644 --- a/django/contrib/comments/templates/comments/preview.html +++ b/django/contrib/comments/templates/comments/preview.html @@ -11,7 +11,7 @@

Preview your comment

{{ comment|linebreaks }}

- and or make changes: + and or make changes:

{% endif %} {% for field in form %} @@ -27,8 +27,8 @@ {% endif %} {% endfor %}

- - + +

{% endblock %}