--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/SEESenv/web/hgbook/templates/single_com.html~ Fri Feb 12 01:11:21 2010 +0530
@@ -0,0 +1,19 @@
+{% ifequal length 1 %}
+ <a class="commenttoggle" id="toggle_{{ id }}"
+ onclick="return toggleComment('{{ id }}')"
+ href="comments: show / hide">One comment</a>
+{% else %}
+ {% if length %}
+ <a class="commenttoggle" id="toggle_{{ id }}"
+ onclick="return toggleComment('{{ id }}')"
+ href="comments: show / hide">{{ length }} comments</a>
+ {% else %}
+ <a class="commenttoggle" id="toggle_{{ id }}"
+ onclick="return toggleComment('{{ id }}')"
+ href="comments: show / hide">No comments</a>
+ <div class="comment" {% if not newid %} style="display: none;" {% endif %}>
+ <div class="comment_body">Be the first to comment on this paragraph!</div>
+ </div>
+ {% endif %}
+{% endifequal %}
+{% for c in query %}