X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/cf85775b60d096583ec64a257e8a6afe47e21cd2..403d327cae333430e857ed988f0cba7bc833a4a0:/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