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