From 017e193ccbff4851a1b17af5b851f0d743ed3133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Klepacki?= Date: Thu, 7 Jan 2021 18:33:54 +0100 Subject: [PATCH] comit --- SocialHelper/enGB/templates/enGB/index.html | 40 +++---------------- .../enGB/templates/enGB/my_offer.html | 6 ++- .../enGB/templates/enGB/user_profile.html | 8 +++- .../homepage/templates/homepage/index.html | 38 ++---------------- .../homepage/templates/homepage/my_offer.html | 6 ++- .../templates/homepage/user_profile.html | 8 +++- 6 files changed, 31 insertions(+), 75 deletions(-) diff --git a/SocialHelper/enGB/templates/enGB/index.html b/SocialHelper/enGB/templates/enGB/index.html index a32cea9..242f6e3 100644 --- a/SocialHelper/enGB/templates/enGB/index.html +++ b/SocialHelper/enGB/templates/enGB/index.html @@ -37,39 +37,11 @@
{% if all_product %} {% for product in all_product %} - {% if product.Wolontatriat %} -
-
-
-
- -
-
- -
-
-

{{ product.title }}

-
{{ product.user_iden }}
-
- {% if types.0.0 == product.type %} - Need - {% else %} - Give - {% endif %} - {% if types_o.0.0 == product.offer %} - Service - {% else %} - Items - {% endif %}
- -
Location: {{ product.place }}
-
-
-
-
-
- {% else %} -
+ {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %}
@@ -93,12 +65,10 @@ {% endif %}
Location: {{ product.place }}
-

{{ product.description }}

- {% endif %} {% endfor %} {% else %}

No polls are available.

diff --git a/SocialHelper/enGB/templates/enGB/my_offer.html b/SocialHelper/enGB/templates/enGB/my_offer.html index e403f12..59916d3 100644 --- a/SocialHelper/enGB/templates/enGB/my_offer.html +++ b/SocialHelper/enGB/templates/enGB/my_offer.html @@ -27,7 +27,11 @@
{% if all_product %} {% for product in all_product %} -
+ {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %}
diff --git a/SocialHelper/enGB/templates/enGB/user_profile.html b/SocialHelper/enGB/templates/enGB/user_profile.html index b98326a..b236ac9 100644 --- a/SocialHelper/enGB/templates/enGB/user_profile.html +++ b/SocialHelper/enGB/templates/enGB/user_profile.html @@ -47,7 +47,11 @@
{% if all_product %} {% for product in all_product %} -
+ {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %}
@@ -101,7 +105,7 @@
- {{ocen_jed.ocena_jedn}} + {{ocen_jed.ocena_jedn}}
diff --git a/SocialHelper/homepage/templates/homepage/index.html b/SocialHelper/homepage/templates/homepage/index.html index 8c2983d..f50936d 100644 --- a/SocialHelper/homepage/templates/homepage/index.html +++ b/SocialHelper/homepage/templates/homepage/index.html @@ -38,14 +38,17 @@ {% if all_product %} {% for product in all_product %} {% if product.Wolontatriat %} +
+ {% else %}
+ {% endif %}
- +

{{ product.title }}

@@ -65,41 +68,8 @@
Location: {{ product.place }}
-
- {% else %} -
-
-
-
- -
-
-
-
-

{{ product.title }}

-
{{ product.user_iden }}
-
- {% if types.0.0 == product.type %} - Potrzebuje - {% else %} - Oddam - {% endif %} - - {% if types_o.0.0 == product.offer %} - Usługa - {% else %} - Przedmiot - {% endif %}
- -
Z miejscowości: {{ product.place }}
-

{{ product.description }}

-
-
-
-
- {% endif %} {% endfor %} {% else %}

No polls are available.

diff --git a/SocialHelper/homepage/templates/homepage/my_offer.html b/SocialHelper/homepage/templates/homepage/my_offer.html index 013ff42..38453f3 100644 --- a/SocialHelper/homepage/templates/homepage/my_offer.html +++ b/SocialHelper/homepage/templates/homepage/my_offer.html @@ -27,7 +27,11 @@
{% if all_product %} {% for product in all_product %} -
+ {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %}
diff --git a/SocialHelper/homepage/templates/homepage/user_profile.html b/SocialHelper/homepage/templates/homepage/user_profile.html index 3520dd6..0310e7a 100644 --- a/SocialHelper/homepage/templates/homepage/user_profile.html +++ b/SocialHelper/homepage/templates/homepage/user_profile.html @@ -43,7 +43,11 @@
{% if all_product %} {% for product in all_product %} -
+ {% if product.Wolontatriat %} +
+ {% else %} +
+ {% endif %}
@@ -94,7 +98,7 @@
- {{ocen_jed.ocena_jedn}} + {{ocen_jed.ocena_jedn}}