blob: 4258b1c4858c6dcd752608996de41ac4d33bb281 (
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
|
{% 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 }}/pdf/">pdf</a> -
<a href="/k/{{ item.slug }}/log">log</a>
</span>
<br />
{% endblock %}
{% block commentary %}
<div class="content" id="commentary">
{% load comments %}
<h3>Post a comment</h3>
{% if user.is_authenticated %}
{% comment_form for git_wiki.item item.id with is_public yes %}
{% else %}
{% free_comment_form for git_wiki.item item.id with is_public yes %}
{% 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 %}
|