aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_wiki/templates')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/item.html26
1 files changed, 15 insertions, 11 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html
index 7562fc6..16d3518 100644
--- a/bn_django/git_wiki/templates/git_wiki/item.html
+++ b/bn_django/git_wiki/templates/git_wiki/item.html
@@ -1,25 +1,29 @@
{% extends "git_wiki/base.html" %}
-{% load markup %}
+{% block stylesheets %}
+{{ block.super }}
+<link rel="STYLESHEET" type="text/css" href="/style/docutils.css" />
+{% endblock %}
{% block path %}{{ block.super }} &raquo; <a href="/k/{{ item.slug }}/">
{{ item.path }}</a>{% endblock %}
-{% block title %}Knowledge Item: {{ item.path }}{% endblock %}
+{% block title %}{% endblock %}
{% block gitwiki %}
- {{ item.contents|restructuredtext }}
+&nbsp;
+{{ doc.html_body }}
<br /><hr />
- <h3>Item name:</h3>
- <span class="hash">{{ item.name }}</span>
- <h3>Item sha1 hash:</h3>
- <span class="hash">{{ item.id }}</span>
- <h3>Raw Contents:</h3>
- <pre class="large">{{ item.contents|escape|wordwrap:80 }}</pre>
-
+ <h3>Meta</h3>
+ <b>Item name:</b>
+ <span class="hash">{{ item.name }}</span><br />
+ <b>Item sha1 hash:</b>
+ <span class="hash">{{ item.id }}</span><br />
<br />
<span class="righty">
- <a href="/k/{{ item.slug }}/pdf/">pdf</a> - <a href="/k/{{ item.slug }}/log">log</a>
+ <a href="/k/{{ item.slug }}/raw/">raw</a> -
+ <a href="/k/{{ item.slug }}/pdf/">pdf</a> -
+ <a href="/k/{{ item.slug }}/log">log</a>
</span>
<br />
{% endblock %}