From a18139d905a91786407f71273e2b257e546a814e Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 13 Mar 2007 19:39:51 -0700 Subject: incremental work --- bn_django/git_wiki/templates/git_wiki/item.html | 1 + bn_django/git_wiki/templates/git_wiki/tree.html | 6 ++---- bn_django/git_wiki/templates/git_wiki/tree_table | 10 ++++++++-- 3 files changed, 11 insertions(+), 6 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 d9d33c9..e26722d 100644 --- a/bn_django/git_wiki/templates/git_wiki/item.html +++ b/bn_django/git_wiki/templates/git_wiki/item.html @@ -22,6 +22,7 @@
raw - + latex - pdf - log diff --git a/bn_django/git_wiki/templates/git_wiki/tree.html b/bn_django/git_wiki/templates/git_wiki/tree.html index 1c33a98..08f6e35 100644 --- a/bn_django/git_wiki/templates/git_wiki/tree.html +++ b/bn_django/git_wiki/templates/git_wiki/tree.html @@ -6,12 +6,10 @@ {% block title %}Knowledge Category: {{ tree.path }}{% endblock %} {% block gitwiki %} -

Tree sha1 hash:

- {{ tree.id }} -

Tree path:

- {{ tree.path }}

Directory listing:

{% include "git_wiki/tree_table" %} +

Tree sha1 hash:

+ {{ tree.id }}

Shortlog:

{% include "git_wiki/shortlog_table" %} {% endblock %} diff --git a/bn_django/git_wiki/templates/git_wiki/tree_table b/bn_django/git_wiki/templates/git_wiki/tree_table index 82d169a..c1f9a82 100644 --- a/bn_django/git_wiki/templates/git_wiki/tree_table +++ b/bn_django/git_wiki/templates/git_wiki/tree_table @@ -8,7 +8,13 @@ {{o.path}} - pdf + {% if o.isfig %} + download + {% else %} + pdf  + latex  + raw + {% endif %} {% else %} {% ifequal o.type 'tree' %} @@ -17,7 +23,7 @@ browse {% else %} - + {{o.name}} -- cgit v1.2.3