X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/1964943395e77b097c3a252c111a149b4d6ed2a3..e2869e2dfb4fdb7f01f27a03211bec2b198e4a4a:/templates/allsandwiches.html diff --git a/templates/allsandwiches.html b/templates/allsandwiches.html index 64f734f..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