From 42aafe15b2fde378511e5f3575cce35521feaa56 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 Aug 2007 19:54:07 -0700 Subject: changes for xhtml compliance --- bn_django/git_wiki/templates/git_wiki/newitems_table | 9 +++++---- bn_django/git_wiki/templates/git_wiki/shortlog_table | 4 ++-- bn_django/git_wiki/templates/git_wiki/tree_table | 8 ++++---- bn_django/photos/templates/photos/gallery_list.html | 4 ++-- bn_django/templates/base.html | 4 ++-- bn_django/templates/comment_list | 4 ++-- 6 files changed, 17 insertions(+), 16 deletions(-) (limited to 'bn_django') diff --git a/bn_django/git_wiki/templates/git_wiki/newitems_table b/bn_django/git_wiki/templates/git_wiki/newitems_table index e072a10..d8682be 100644 --- a/bn_django/git_wiki/templates/git_wiki/newitems_table +++ b/bn_django/git_wiki/templates/git_wiki/newitems_table @@ -6,26 +6,27 @@ {% if i.isfig %} {{i.path}} - + download {% else %} {{i.path}} - + pdf  latex  raw {% endif %} + {% else %} {% ifequal i.type 'tree' %} {{i.path}}/ - + browse {% else %} {{i.name}} - + {% endifequal %}{% endifequal %} diff --git a/bn_django/git_wiki/templates/git_wiki/shortlog_table b/bn_django/git_wiki/templates/git_wiki/shortlog_table index 85f916d..95aac57 100644 --- a/bn_django/git_wiki/templates/git_wiki/shortlog_table +++ b/bn_django/git_wiki/templates/git_wiki/shortlog_table @@ -5,10 +5,10 @@ {{ l.date }} - {{ l.author }} + {{ l.author|striptags }} - {{ l.description|truncatewords:10 }} + {{ l.description|escape|truncatewords:10 }} {% if heads %}{% for h in heads.iteritems %} {% ifequal h.1 l.hash %} diff --git a/bn_django/git_wiki/templates/git_wiki/tree_table b/bn_django/git_wiki/templates/git_wiki/tree_table index 2f638ef..36bc3a6 100644 --- a/bn_django/git_wiki/templates/git_wiki/tree_table +++ b/bn_django/git_wiki/templates/git_wiki/tree_table @@ -8,12 +8,12 @@ {% if o.isfig %} {{o.path}} - + download {% else %} {{o.path}} - + pdf  latex  raw @@ -22,13 +22,13 @@ {% else %} {% ifequal o.type 'tree' %} {{o.path}}/ - + browse {% else %} {{o.name}} - + {% endifequal %}{% endifequal %} diff --git a/bn_django/photos/templates/photos/gallery_list.html b/bn_django/photos/templates/photos/gallery_list.html index fffad30..bb4e797 100644 --- a/bn_django/photos/templates/photos/gallery_list.html +++ b/bn_django/photos/templates/photos/gallery_list.html @@ -5,7 +5,7 @@ {% block content %} {% if object_list %} - +
{% for item in object_list %} {% endfor %} {% for c in free_comments %} {% endfor %}
@@ -18,7 +18,7 @@ {% endif %}
@@ -28,7 +28,7 @@
{% endif %} {{ c.comment|escape|wordwrap:80 }} - +
{% else %} -- cgit v1.2.3