X-Git-Url: http://git.ithinksw.org/~kgodey/maayanwich.git/blobdiff_plain/21a5b5aafd25a996530e2575b32fca7a0ccac30d..2bfc95198cc682f60802b7367e0db2413a382b44:/templates/onesandwich.html diff --git a/templates/onesandwich.html b/templates/onesandwich.html index e1654fa..d88cfbd 100644 --- a/templates/onesandwich.html +++ b/templates/onesandwich.html @@ -4,7 +4,17 @@ {% block content %}

{{ s.adjective }}

-

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 %}

+

Made on {{ s.date_made|date:"F j Y" }} and added by + {% ifequal s.user request.user %} you. + (Edit) + {% else %} + {% if s.user.first_name %} {{ s.user.first_name }} + {% if s.user.last_name %} {{ s.user.last_name }} + {% endif %} + {% else %} + {{ s.user.username }}. + {% endif %} + {% endifequal %}

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