From 979f5901af8410ff138de0aa41013bfb193060d6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 23 Sep 2008 18:52:55 -0700 Subject: 1.0 --- bn_django/templates/comments/form.html | 36 -------------------- bn_django/templates/comments/free_preview.html | 46 -------------------------- bn_django/templates/comments/freeform.html | 10 ------ bn_django/templates/comments/posted.html | 13 -------- bn_django/templates/comments/preview.html | 46 -------------------------- bn_django/templates/newcomments_table | 16 ++------- 6 files changed, 2 insertions(+), 165 deletions(-) delete mode 100644 bn_django/templates/comments/form.html delete mode 100644 bn_django/templates/comments/free_preview.html delete mode 100644 bn_django/templates/comments/freeform.html delete mode 100644 bn_django/templates/comments/posted.html delete mode 100644 bn_django/templates/comments/preview.html (limited to 'bn_django/templates') diff --git a/bn_django/templates/comments/form.html b/bn_django/templates/comments/form.html deleted file mode 100644 index a2af1be..0000000 --- a/bn_django/templates/comments/form.html +++ /dev/null @@ -1,36 +0,0 @@ -{% load i18n %} -
- -

- -{% if user.is_authenticated %} -

 {% trans "Username:" %} {{ user.username }} ({% trans "Log out" %}) -{% else %} -


{% trans "Password:" %} ({% trans "Forgotten your password?" %}) -{% endif %} -

- -{% if ratings_optional or ratings_required %} -

{% trans "Ratings" %} ({% if ratings_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}):

- -{% for value in rating_range %}{% endfor %} -{% for rating in rating_choices %} -{% for value in rating_range %}{% endfor %} -{% endfor %} -
 {{ value }}
{{ rating }}
- -{% endif %} - -{% if photos_optional or photos_required %} -

({% if photos_required %}{% trans "Required" %}{% else %}{% trans "Optional" %}{% endif %}): -

- -{% endif %} - - -

- - - -

-
diff --git a/bn_django/templates/comments/free_preview.html b/bn_django/templates/comments/free_preview.html deleted file mode 100644 index 3c212c0..0000000 --- a/bn_django/templates/comments/free_preview.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}Preview your comment{% endblock %} - -{% block content %} - -
- {% if comment_form.has_errors %} -

Please correct the following errors.

- {% else %} -
- {{ comment.comment|escape|urlizetrunc:"40"|linebreaks }} -

Posted by {{ comment.person_name }}

-
- -

- -

Or edit it again

- {% endif %} - - {% if comment_form.person_name.errors %} - {{ comment_form.person_name.html_error_list }} - {% endif %} - -

{{ comment_form.person_name }}

- - {% if comment_form.comment.errors %} - {{ comment_form.comment.error_list }} - {% endif %} - -

- -
- {{ comment_form.comment }} -

- - - - - -

- -

-
-{% endblock %} diff --git a/bn_django/templates/comments/freeform.html b/bn_django/templates/comments/freeform.html deleted file mode 100644 index 3d3678e..0000000 --- a/bn_django/templates/comments/freeform.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load i18n %} -
-

- -

  - - - -

-
diff --git a/bn_django/templates/comments/posted.html b/bn_django/templates/comments/posted.html deleted file mode 100644 index 07bdb67..0000000 --- a/bn_django/templates/comments/posted.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Comment posted successfully{% endblock %} - -{% block content %} -

Thanks for contributing.

- -{% if object %} - -{% endif %} -{% endblock %} diff --git a/bn_django/templates/comments/preview.html b/bn_django/templates/comments/preview.html deleted file mode 100644 index 052b373..0000000 --- a/bn_django/templates/comments/preview.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "base.html" %} - - -{% block title %}Preview your comment{% endblock %} - -{% block content %} - -
- {% if comment_form.has_errors %} -

Please correct the following errors.

- {% else %} -
- {{ comment.comment|escape|urlizetrunc:"40"|linebreaks }} -

Posted by {{ comment.person_name }}

-
- -

- -

Or edit it again

- {% endif %} - - {% if comment_form.person_name.errors %} - {{ comment_form.person_name.html_error_list }} - {% endif %} - -

{{ comment_form.person_name }}

- - {% if comment_form.comment.errors %} - {{ comment_form.comment.html_error_list }} - {% endif %} - -

- -
- {{ comment_form.comment }} -

- - - - - -

- -

-
-{% endblock %} diff --git a/bn_django/templates/newcomments_table b/bn_django/templates/newcomments_table index 6c38d10..ab50b7c 100644 --- a/bn_django/templates/newcomments_table +++ b/bn_django/templates/newcomments_table @@ -5,21 +5,9 @@ {{ c.submit_date|date:"F jS" }} {% if c.user.username %}{{ c.user.username }} - {% else %}anonymous{% endif%} + {% else %}c.user_name{% endif%} - - {{ c.content_type.name }} - -{% endfor %} -{% for c in latest_freecomments %} - - - {{ c.submit_date|date:"F jS" }} - - {% if c.person_name %}{{c.person_name}}{% else %}anonymous{% endif %} - - - + {{ c.content_type.name }} {% endfor %} -- cgit v1.2.3