From 12990ba2d308f7c69fc7e9ba9f7f1322454d5025 Mon Sep 17 00:00:00 2001 From: Klaudia Date: Sat, 9 Jan 2021 16:28:34 +0100 Subject: [PATCH] Offer page --- .../templates/homepage/offer_page.html | 89 +++++++++++++------ 1 file changed, 60 insertions(+), 29 deletions(-) diff --git a/SocialHelper/homepage/templates/homepage/offer_page.html b/SocialHelper/homepage/templates/homepage/offer_page.html index 5fe1b25..10de601 100644 --- a/SocialHelper/homepage/templates/homepage/offer_page.html +++ b/SocialHelper/homepage/templates/homepage/offer_page.html @@ -5,36 +5,73 @@ - +
- {% if offer.Wolontatriat %} -
Ogłoszenie Wolontariackie
- {% endif %} -

{{ offer.title }}

-
{{ offer.user_iden }}


- - {{ offer.create_date }} - {% if types.0.0 == offer.type %} - Potrzebuje - {% else %} - Oddam - {% endif %} - {% if types_o.0.0 == offer.offer %} - Usługe - {% else %} - Przedmiot - {% endif %} - {{ offer.description }} - {{ offer.place }} +

Szczegóły oferty

+ {% if offer.Wolontatriat %} +
Ogłoszenie Wolontariackie
+ {% endif %} + {% if types.0.0 == offer.type %} + Potrzebuje + {% else %} + Oddam + {% endif %} + {% if types_o.0.0 == offer.offer %} + Usługę + {% else %} + Przedmiot + {% endif %} +
+
+ + + +
+
+
+
+
+
+
    +
  • + + + +
  • + +
+
+
+
+
+
+

{{ offer.title }}



+

Wystawione przez: {{ offer.user_iden }}

+
Z miejscowości {{ offer.place }}


+

{{ offer.description }}



+ +
+
+
+
+
+ + + +
+
-

Wiadomości

-
+

Wiadomości

+
{% if user_get_id == offer.user_iden.id %}
@@ -46,7 +83,7 @@
{% for user in email_list %}
- +
{% csrf_token %} @@ -102,12 +139,6 @@ - -
-
- -
-