X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/598bab51785e33f0f224d0603b260a9ae35cac47..25e2e5d9d53f08724f2fe9661265d58d850c5d17:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index d685ea3..60ea42b 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -15,16 +15,27 @@ {% endfor %} {% if s.notes %} -

Notes

+

Notes

{{ s.notes }}

{% endif %} {% load comments %} {% get_comment_count for s as c %} -

Comments

+ {% ifequal c 1 %} +

1 Comment

+ {% else %} + {% ifequal c 0 %} +

No comments

+ {% else %} +

{{c}} Comments

+ {% endifequal %} + {% endifequal %} + {% get_comment_list for s as clist %} {% for comment in clist %}

{{ comment.user_name }} said:

{{ comment.comment }}

{{ comment.submit_date }}

{% endfor %} +

Add a Comment

+ {% render_comment_form for s %} {% endblock %} \ No newline at end of file