aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@animus.robocracy.org>2007-08-13 19:54:07 -0700
committerBryan Newbold <bnewbold@animus.robocracy.org>2007-08-13 19:54:07 -0700
commit42aafe15b2fde378511e5f3575cce35521feaa56 (patch)
tree2a0cc32227aa1282a1d0ed8852af604ec27cc7d4 /bn_django/git_wiki
parent50c398625c6539c9b1e714f8d0dd277c3cfe5aa3 (diff)
downloadbnewnet-42aafe15b2fde378511e5f3575cce35521feaa56.tar.gz
bnewnet-42aafe15b2fde378511e5f3575cce35521feaa56.zip
changes for xhtml compliance
Diffstat (limited to 'bn_django/git_wiki')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/newitems_table9
-rw-r--r--bn_django/git_wiki/templates/git_wiki/shortlog_table4
-rw-r--r--bn_django/git_wiki/templates/git_wiki/tree_table8
3 files changed, 11 insertions, 10 deletions
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 %}
<a href='/k/{{ i.slug }}' class="item">
{{i.path}}</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ i.slug }}'>download</a>
{% else %}
<a href='/k/{{ i.slug }}' class="item">
{{i.path}}</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ i.slug }}/pdf/'>pdf</a>&nbsp;
<a href='/k/{{ i.slug }}/latex/'>latex</a>&nbsp;
<a href='/k/{{ i.slug }}/raw/'>raw</a>
{% endif %}
+ </td>
{% else %} {% ifequal i.type 'tree' %}
<a href='/k/{{ i.slug }}/' class="tree">
{{i.path}}/</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ i.slug }}/'>browse</a>
</td>
{% else %}
<a href='/k/{{ i.slug }}/' class="item">
{{i.name}}</a>
- </td><td type="links">
+ </td><td class="links">
</td>
{% endifequal %}{% endifequal %}
</tr>
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 @@
<td class="date">
{{ l.date }}</td>
<td class="author">
- {{ l.author }}</td>
+ {{ l.author|striptags }}</td>
<td class="description">
<a href="/k/commit/{{ l.hash }}/" class="description">
- {{ l.description|truncatewords:10 }}</a></td>
+ {{ l.description|escape|truncatewords:10 }}</a></td>
<td class="shorthash">
{% 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 %}
<a href='/k/{{ o.slug }}' class="item">
{{o.path}}</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ o.slug }}/download/'>download</a>
{% else %}
<a href='/k/{{ o.slug }}/' class="item">
{{o.path}}</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ o.slug }}/pdf/'>pdf</a>&nbsp;
<a href='/k/{{ o.slug }}/latex/'>latex</a>&nbsp;
<a href='/k/{{ o.slug }}/raw/'>raw</a>
@@ -22,13 +22,13 @@
{% else %} {% ifequal o.type 'tree' %}
<a href='/k/{{ o.slug }}/' class="tree">
{{o.path}}/</a>
- </td><td type="links">
+ </td><td class="links">
<a href='/k/{{ o.slug }}/'>browse</a>
</td>
{% else %}
<a href='/k/{{ o.slug }}' class="item">
{{o.name}}</a>
- </td><td type="links">
+ </td><td class="links">
</td>
{% endifequal %}{% endifequal %}
</tr>