From 3226c55884019224e6743573df7c2ffc425c5b66 Mon Sep 17 00:00:00 2001 From: Klaudia Date: Sun, 3 Jan 2021 15:57:23 +0100 Subject: [PATCH] =?UTF-8?q?Ramka=20wok=C3=B3=C5=82=20og=C5=82osze=C5=84=20?= =?UTF-8?q?wolontariackich?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SocialHelper/enGB/templates/enGB/index.html | 36 +++++++++++++++++-- .../homepage/templates/homepage/index.html | 33 +++++++++++++++++ 2 files changed, 67 insertions(+), 2 deletions(-) diff --git a/SocialHelper/enGB/templates/enGB/index.html b/SocialHelper/enGB/templates/enGB/index.html index 5002754..a32cea9 100644 --- a/SocialHelper/enGB/templates/enGB/index.html +++ b/SocialHelper/enGB/templates/enGB/index.html @@ -37,6 +37,38 @@
{% 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 %}
@@ -54,19 +86,19 @@ {% else %} Give {% endif %} - {% if types_o.0.0 == product.offer %} Service {% else %} Items {% endif %} -
Locality: {{ product.place }}
+
Location: {{ product.place }}

{{ product.description }}

+ {% endif %} {% endfor %} {% else %}

No polls are available.

diff --git a/SocialHelper/homepage/templates/homepage/index.html b/SocialHelper/homepage/templates/homepage/index.html index 4349c0f..8c2983d 100644 --- a/SocialHelper/homepage/templates/homepage/index.html +++ b/SocialHelper/homepage/templates/homepage/index.html @@ -37,6 +37,38 @@
{% 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 %}
@@ -67,6 +99,7 @@
+ {% endif %} {% endfor %} {% else %}

No polls are available.