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