aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates/git_wiki/tree_table
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_wiki/templates/git_wiki/tree_table')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/tree_table11
1 files changed, 7 insertions, 4 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/tree_table b/bn_django/git_wiki/templates/git_wiki/tree_table
index c1f9a82..2f638ef 100644
--- a/bn_django/git_wiki/templates/git_wiki/tree_table
+++ b/bn_django/git_wiki/templates/git_wiki/tree_table
@@ -5,12 +5,15 @@
{{o.type}}</td>
<td class="filename">
{% ifequal o.type 'blob' %}
- <a href='/k/{{ o.slug }}/' class="item">
- {{o.path}}</a>
- </td><td type="links">
{% if o.isfig %}
- <a href='/k/{{ o.slug }}'>download</a>
+ <a href='/k/{{ o.slug }}' class="item">
+ {{o.path}}</a>
+ </td><td type="links">
+ <a href='/k/{{ o.slug }}/download/'>download</a>
{% else %}
+ <a href='/k/{{ o.slug }}/' class="item">
+ {{o.path}}</a>
+ </td><td type="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>