X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/cf85775b60d096583ec64a257e8a6afe47e21cd2..e2869e2dfb4fdb7f01f27a03211bec2b198e4a4a:/templates/allsandwiches.html diff --git a/templates/allsandwiches.html b/templates/allsandwiches.html index 102f86c..4f3a901 100644 --- a/templates/allsandwiches.html +++ b/templates/allsandwiches.html @@ -1,20 +1,38 @@ - -
-Made on {{ s.date_made }} and added by {{ s.user.username }}.
- -{{ s.notes }}
+ {% if s.notes %} +{{ s.notes }}
+ {% endif %} + {% load comments %} + {% get_comment_count for s as c %} + {% ifequal c 1 %} + + {% else %} + + {% endifequal %} {% endfor %} - - \ No newline at end of file +{% endblock %} \ No newline at end of file