blob: 69332fd71d825f8073a4d0dcb125209865a8efd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{% extends "git_wiki/base.html" %}
{% block stylesheets %}
{{ block.super }}
<link rel="STYLESHEET" type="text/css" href="/style/docutils.css" />
{% endblock %}
{% block path %}{{ block.super }} » <a href="/k/{{ item.slug }}/">
{{ item.path }}</a>{% endblock %}
{% block title %}{% endblock %}
{% block gitwiki %}
{{ doc.html_body }}
<br /><hr />
<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 }}/raw/">raw</a> -
<a href="/k/{{ item.slug }}/latex/">latex</a> -
<a href="/k/{{ item.slug }}/pdf/">pdf</a> -
<a href="/k/{{ item.slug }}/log">log</a>
</span>
<br />
{% endblock %}
{% block commentary %}
<div class="content" id="commentary">
{% load comments %}
<br /><p><em>IMPORTANT: Comments only apply to this revision of the item!
They will be lost if the item is updated.</em></p>
<h3>Post a comment</h3>
{% if user.is_authenticated %}
{% comment_form for git_wiki.item item.id with is_public true %}
{% else %}
{% free_comment_form for git_wiki.item item.id with is_public true %}
{% endif %}
<br />
{% get_comment_list for git_wiki.item item.id as comments %}
{% get_free_comment_list for git_wiki.item item.id as free_comments %}
{% include "comment_list" %}
</div>
{% endblock %}
|