aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@manus.(none)>2007-03-07 01:09:52 -0800
committerbnewbold <bnewbold@manus.(none)>2007-03-07 01:09:52 -0800
commitb148bab8f549792f19ae0256c00c282f29e061dc (patch)
treee08cccaa5257e77faea258891cfd3974ec641ba8 /bn_django/git_wiki/templates
parent3a454ef090f5afe3d0ddf119afa0ca6312e52c3b (diff)
downloadbnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.tar.gz
bnewnet-b148bab8f549792f19ae0256c00c282f29e061dc.zip
much work; comments working for photos, static content moved, more
Diffstat (limited to 'bn_django/git_wiki/templates')
-rw-r--r--bn_django/git_wiki/templates/git_wiki/item.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/bn_django/git_wiki/templates/git_wiki/item.html b/bn_django/git_wiki/templates/git_wiki/item.html
index 16d3518..4258b1c 100644
--- a/bn_django/git_wiki/templates/git_wiki/item.html
+++ b/bn_django/git_wiki/templates/git_wiki/item.html
@@ -27,3 +27,19 @@
</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 %}