From 778c4c880e5fc1251286610c35aea5d5266fbe30 Mon Sep 17 00:00:00 2001 From: bryan newbold Date: Mon, 19 Jan 2009 06:23:59 -0500 Subject: Made changes so knowledge items get the TOC banged right. Probably looks bad in other browsers... --- bn_django/git_wiki/templates/git_wiki/item.html | 34 ++++++++++++++----------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to 'bn_django/git_wiki/templates') diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html index 98f1647..cf49753 100644 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ b/bn_django/git_wiki/templates/git_wiki/item.html @@ -5,27 +5,31 @@ {% endblock %} +{% block right_stuff %}{{block.super}} +Item name: + {{ item.name }}
+Item hash: + {{ item.id }}
+
+View as pdf,
+or as LaTeX,
+or see the raw source.
+
+Browse the changelog +
+{% endblock %} + {% block path %}{{ block.super }} » {{ item.path }}{% endblock %} -{% block title %}{% endblock %} +{% comment %} Needed the extra .title css info... {% endcomment %} +{% block title %}

{% if doc.title %}{{ doc.title }}{% else %}[Unititled Document]{% endif %}

{% endblock %} + +{% block subtitle %}{% if doc.subtitle %}{{doc.subtitle}}{% endif %}{% endblock %} {% block gitwiki %}   -{{ doc.html_body|safe }} -

-

Meta

- Item name: - {{ item.name }}
- Item sha1 hash: - {{ item.id }}
-
- - raw - - latex - - pdf - - log - +{{ doc.fragment|safe }}
{% endblock %} -- cgit v1.2.3