X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/735e53fa41a4911c1464a25ed0f24ac8769b878f..f3cb6c9aac4ebeec54e8a82959cf8d56b30b15b5:/templates/allsandwiches.html diff --git a/templates/allsandwiches.html b/templates/allsandwiches.html index 4877263..d55cdb9 100644 --- a/templates/allsandwiches.html +++ b/templates/allsandwiches.html @@ -1,18 +1,21 @@ {% extends "base.html" %} {% block content %} -

All Ma'ayanwiches

{% for s in allsandwiches %}

{{ s.adjective }}

-

Made on {{ s.date_made }} and added by {{ s.user.username }}.

- +

Made on {{ s.date_made|date:"F j Y" }} and added by {% if s.user.first_name %} {{ s.user.first_name }} {% if s.user.last_name %} {{ s.user.last_name }} {% endif %} {% else %} {{ s.user.username }}. {% endif %}

+ {% if s.picture %} + + {% endif %}

Ingredients

-

Notes

-

{{ s.notes }}

+ {% if s.notes %} +

Notes

+

{{ s.notes }}

+ {% endif %} {% endfor %} {% endblock %} \ No newline at end of file