X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/f3cb6c9aac4ebeec54e8a82959cf8d56b30b15b5..21a5b5aafd25a996530e2575b32fca7a0ccac30d:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index d685ea3..e1654fa 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -15,16 +15,28 @@ {% 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