diff --git a/SocialHelper/control/templates/control/OfferNotification.html b/SocialHelper/control/templates/control/OfferNotification.html index 61a9283..1ea7735 100644 --- a/SocialHelper/control/templates/control/OfferNotification.html +++ b/SocialHelper/control/templates/control/OfferNotification.html @@ -12,7 +12,7 @@ {% for offer in all_Notificationoffer %} - {{offer.id}} + {{offer.user_iden.title}} {{offer.text}} {{offer.date}} Usuń diff --git a/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc b/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc index ff398b9..14202ff 100644 Binary files a/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc and b/SocialHelper/homepage/__pycache__/urls.cpython-37.pyc differ diff --git a/SocialHelper/homepage/__pycache__/views.cpython-37.pyc b/SocialHelper/homepage/__pycache__/views.cpython-37.pyc index 4d3c09d..65ef623 100644 Binary files a/SocialHelper/homepage/__pycache__/views.cpython-37.pyc and b/SocialHelper/homepage/__pycache__/views.cpython-37.pyc differ diff --git a/SocialHelper/homepage/templates/homepage/contact.html b/SocialHelper/homepage/templates/homepage/contact.html index 0e294f7..20d3f9d 100644 --- a/SocialHelper/homepage/templates/homepage/contact.html +++ b/SocialHelper/homepage/templates/homepage/contact.html @@ -46,7 +46,11 @@

Wyślij wiadomość

-
+ + {% csrf_token %} + {{ form.media }} + {{ form.as_p }} +
@@ -57,7 +61,7 @@
- +
diff --git a/SocialHelper/homepage/templates/homepage/offer_note.html b/SocialHelper/homepage/templates/homepage/offer_note.html new file mode 100644 index 0000000..3734696 --- /dev/null +++ b/SocialHelper/homepage/templates/homepage/offer_note.html @@ -0,0 +1,59 @@ +{% extends 'base.html' %} +{% load static %} +{% block content %} + + + + + +
+
+
+

Zgłoś Oferte:

+
{{ offer.title }}
+
Użytkownika: {{ offer.user_iden }}
+ +
+
+
+ + + +
+ {% csrf_token %} + {{ form.media }} + {{ form.as_p }} + + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+
+ +
+
+
+ + +
+
+
+ + + + + + {% endblock %} diff --git a/SocialHelper/homepage/templates/homepage/offer_page.html b/SocialHelper/homepage/templates/homepage/offer_page.html index e03721b..d065234 100644 --- a/SocialHelper/homepage/templates/homepage/offer_page.html +++ b/SocialHelper/homepage/templates/homepage/offer_page.html @@ -41,7 +41,7 @@ /* Create an active/current "tab button" class */ .tab button.active { background-color: #ccc; - } + } @@ -155,6 +155,9 @@ {% endif %} +
+ +