X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/6257e70f7b73d39922d5160c648b418c4ac180a2..f3cb6c9aac4ebeec54e8a82959cf8d56b30b15b5:/templates/allsandwiches.html?ds=sidebyside diff --git a/templates/allsandwiches.html b/templates/allsandwiches.html index 2a7435c..d55cdb9 100644 --- a/templates/allsandwiches.html +++ b/templates/allsandwiches.html @@ -3,7 +3,7 @@ {% block content %} {% 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 %}