diff --git a/pflaenzli/pflaenzli/templates/offer/detail.html b/pflaenzli/pflaenzli/templates/offer/detail.html index d4dba70..218d7ef 100644 --- a/pflaenzli/pflaenzli/templates/offer/detail.html +++ b/pflaenzli/pflaenzli/templates/offer/detail.html @@ -21,21 +21,21 @@

{{ offer.title }}{{ offer.get_category_display }}

-
-

- +

+

+ {% if offer.user == user %} {% trans "You" %} {% else %} {{ offer.user.username }} {% endif %}

-

- {% with plz=offer|get_plz %} {{ offer.zipcode }} {{ plz.name }}{% endwith %} +

+ {% with plz=offer|get_plz %} {{ offer.zipcode }} {{ plz.name }}{% endwith %}

{% if dist %} -

- ca. {{ dist }} km +

+ ca. {{ dist }} km

{% endif %}