From ac2403bfb80fae01636bf4550c1ca8a9dac5bfe4 Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sun, 15 Oct 2023 17:29:10 +0200 Subject: [PATCH] Display information in rows instead of columns --- pflaenzli/pflaenzli/templates/offer/detail.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 %}