From 686a8fe6f1e3162b5160b01958279412076f8e4a Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Sun, 5 Jan 2020 13:31:08 +0100 Subject: [PATCH] 0.7.3 --- areas/templates/areas/areas_management.html | 7 +- .../__pycache__/settings.cpython-38.pyc | Bin 4495 -> 4495 bytes digitaleagentur/settings.py | 4 +- news/__pycache__/models.cpython-38.pyc | Bin 1392 -> 1489 bytes news/models.py | 14 +- news/templates/news/news_management.html | 2 + standards/__pycache__/forms.cpython-38.pyc | Bin 3070 -> 3221 bytes standards/__pycache__/models.cpython-38.pyc | Bin 1635 -> 1630 bytes standards/__pycache__/views.cpython-38.pyc | Bin 6310 -> 6382 bytes standards/forms.py | 23 +- standards/models.py | 9 +- .../templates/standards/standard_task.html | 14 +- .../templates/standards/standards_add.html | 11 + .../standards/standards_management.html | 71 +++++- .../templates/standards/standards_update.html | 2 + standards/views.py | 4 +- users/__pycache__/urls.cpython-38.pyc | Bin 1857 -> 1967 bytes users/__pycache__/views.cpython-38.pyc | Bin 15140 -> 15535 bytes users/templates/users/base.html | 15 +- users/templates/users/dashboard.html | 2 - users/templates/users/datenschutz.html | 9 + .../templates/users/datenschutz_content.html | 1 + users/templates/users/datenschutz_p.html | 9 + users/templates/users/impressum.html | 9 + users/templates/users/impressum_content.html | 1 + users/templates/users/impressum_p.html | 9 + users/templates/users/newusers_email.html | 205 ++++++++++++++--- .../users/newusers_email_MJMLPRE.html | 28 +++ .../users/newusers_email_SAVE_OLD.html | 29 +++ .../templates/users/password_reset_mail.html | 211 +++++++++++++++--- .../users/password_reset_mail_MJMLPRE.html | 30 +++ .../users/password_reset_mail_SAVE_OLD.html | 32 +++ users/templates/users/publicbase.html | 8 +- users/templates/users/register_mail.html | 206 ++++++++++++++--- .../users/register_mail_MJMLPRE.html | 31 +++ .../users/register_mail_SAVE_OLD.html | 31 +++ users/urls.py | 4 +- users/views.py | 12 + 38 files changed, 919 insertions(+), 124 deletions(-) create mode 100644 users/templates/users/datenschutz.html create mode 100644 users/templates/users/datenschutz_content.html create mode 100644 users/templates/users/datenschutz_p.html create mode 100644 users/templates/users/impressum.html create mode 100644 users/templates/users/impressum_content.html create mode 100644 users/templates/users/impressum_p.html create mode 100644 users/templates/users/newusers_email_MJMLPRE.html create mode 100644 users/templates/users/newusers_email_SAVE_OLD.html create mode 100644 users/templates/users/password_reset_mail_MJMLPRE.html create mode 100644 users/templates/users/password_reset_mail_SAVE_OLD.html create mode 100644 users/templates/users/register_mail_MJMLPRE.html create mode 100644 users/templates/users/register_mail_SAVE_OLD.html diff --git a/areas/templates/areas/areas_management.html b/areas/templates/areas/areas_management.html index 99c2f50..c82ec16 100644 --- a/areas/templates/areas/areas_management.html +++ b/areas/templates/areas/areas_management.html @@ -17,7 +17,7 @@
- +
@@ -57,11 +57,16 @@ + +{% if not perms.users.standard_management %} + + + +{% endif %} + {% endblock content %} diff --git a/standards/templates/standards/standards_management.html b/standards/templates/standards/standards_management.html index 5b87830..c342c48 100644 --- a/standards/templates/standards/standards_management.html +++ b/standards/templates/standards/standards_management.html @@ -25,7 +25,12 @@ {% endfor %} + + {% if perms.users.standard_management %} + + {% endif %}
@@ -117,6 +122,59 @@
+
+

Unveröffentlichte Standards

+
+ +
+
+
Name
+ + + + + + + + + + + + {% for standard in unpubstandards_of_user %} + + + + + + + + + {% endfor %} + +
TitelErstellt amGeändert vonGeändert amÖffentlichkeitsstatus 
{{standard.name}}{{standard.created_standard_date|date:"d.m.Y, H:i"}}{{standard.last_modified_by.first_name}} {{standard.last_modified_by.last_name}}{{standard.last_modified_on|date:"d.m.Y, H:i"}}{{standard.public|yesno:"Öffentlich,Nicht öffentlich"}} + +
+ +
+ @@ -129,8 +187,15 @@ $("#tableresults tr").filter(function() { $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) }); - }); - }) + }); + + $("#tableSearch_s").on("keyup", function() { + var value = $(this).val().toLowerCase(); + $("#tableresults_s tr").filter(function() { + $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1) + }); + }); + }) $('#area_tabs a').on('click', function (e) { diff --git a/standards/templates/standards/standards_update.html b/standards/templates/standards/standards_update.html index e818e89..00d2e7b 100644 --- a/standards/templates/standards/standards_update.html +++ b/standards/templates/standards/standards_update.html @@ -38,10 +38,12 @@ $("#id_area").change(function () { } }); }); + $(document).ready(function() { $('#id_content').summernote({ height: 400 }); }); + {% endblock content %} diff --git a/standards/views.py b/standards/views.py index 0251b61..b0ec780 100644 --- a/standards/views.py +++ b/standards/views.py @@ -23,11 +23,11 @@ class StandardsManagement(LoginRequiredMixin, ListView): areas = Areas.objects.filter(agency__pk=self.request.user.profile.agency.pk) standards_of_user = Standards.objects.filter(agency__pk=self.request.user.profile.agency.pk, created_standard_by=self.request.user.pk) standards_of_agency = Standards.objects.filter(agency__pk=self.request.user.profile.agency.pk) + unpubstandards_of_user = Standards.objects.filter(agency__pk=self.request.user.profile.agency.pk, public=False) tasks = Tasks.objects.filter(agency__pk=self.request.user.profile.agency.pk) - context.update({'active_link' : 'standards', 'tasks': tasks, 'standards_of_agency' : standards_of_agency, 'areas' : areas, 'standards_of_user' : standards_of_user}) + context.update({'active_link' : 'standards', 'tasks': tasks, 'unpubstandards_of_user' : unpubstandards_of_user, 'standards_of_agency' : standards_of_agency, 'areas' : areas, 'standards_of_user' : standards_of_user}) return context - @login_required def StandardAdd(request): if request.method == 'POST': diff --git a/users/__pycache__/urls.cpython-38.pyc b/users/__pycache__/urls.cpython-38.pyc index 862f4ab21a4eeac380a84246fcbc96fe89a88b40..89540a669942a64a92d8d458e1d96fe2e6e94313 100644 GIT binary patch delta 210 zcmX@ex1L`+l$V!_0SMk67mS+$WIYCPkbwk{;{e3P+cs)XWmHRLOfgJl&XP?rO5x~b z2J(!7Jh>DT5HDRMN=Fey}S%BSum64B; G?==8`PC2ds delta 102 zcmZ3_e~?c*l$V!_0SIE)e#Ei^S&u;+WFQ9QH~?|+tc}`J8M)GhqGVGHgBdi9Ha}ww oVxFAG>d7d#c?YWoZ#kqwcDm29<#T7`0rHBPHXu54) z!*oQGapmMf9c#v;o7d`8F!7!M>eXZ_iUm?dCpH`D*E6ym2eT({H#p9CVROBq5R2#~ zkjP~aaRo%&1QAy!FEiC*yg2!ysUzdX&BA6@jEvVO`nMX7b^gX z8ip)}EXE?C5~do46vk$zURSSt#qo)yB^jxCC7H=U-6=&(3=GB$MMr=Z7kR=7FCgm{HDM!|9Rsr`A2&G8cz$!gp%9DcMUcoP5OEnq+yD_*CT}y< zV!SZ + + + + + + @@ -187,7 +193,11 @@ + @@ -321,6 +331,9 @@ + + + diff --git a/users/templates/users/dashboard.html b/users/templates/users/dashboard.html index d4a52f6..a03cb9e 100644 --- a/users/templates/users/dashboard.html +++ b/users/templates/users/dashboard.html @@ -37,8 +37,6 @@ - -
Neueste Standards
diff --git a/users/templates/users/datenschutz.html b/users/templates/users/datenschutz.html new file mode 100644 index 0000000..4aca886 --- /dev/null +++ b/users/templates/users/datenschutz.html @@ -0,0 +1,9 @@ +{% extends "users/base.html" %} +{% block content %} +
+

Datenschutz

+ {% block datenschutz_content %} + {% include "users/datenschutz_content.html" %} + {% endblock %} +
+{% endblock %} \ No newline at end of file diff --git a/users/templates/users/datenschutz_content.html b/users/templates/users/datenschutz_content.html new file mode 100644 index 0000000..6bc25df --- /dev/null +++ b/users/templates/users/datenschutz_content.html @@ -0,0 +1 @@ +

TODO Datenschutz Content

diff --git a/users/templates/users/datenschutz_p.html b/users/templates/users/datenschutz_p.html new file mode 100644 index 0000000..bce7578 --- /dev/null +++ b/users/templates/users/datenschutz_p.html @@ -0,0 +1,9 @@ +{% extends "users/publicbase.html" %} +{% block content %} +
+

Datenschutz

+ {% block datenschutz_content %} + {% include "users/datenschutz_content.html" %} + {% endblock %} +
+{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/impressum.html b/users/templates/users/impressum.html new file mode 100644 index 0000000..f57bc5b --- /dev/null +++ b/users/templates/users/impressum.html @@ -0,0 +1,9 @@ +{% extends "users/base.html" %} +{% block content %} +
+

Impressum

+ {% block impressum_content %} + {% include "users/impressum_content.html" %} + {% endblock %} +
+{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/impressum_content.html b/users/templates/users/impressum_content.html new file mode 100644 index 0000000..348ec6f --- /dev/null +++ b/users/templates/users/impressum_content.html @@ -0,0 +1 @@ +

TODO Impressum Content

diff --git a/users/templates/users/impressum_p.html b/users/templates/users/impressum_p.html new file mode 100644 index 0000000..cd9e6b2 --- /dev/null +++ b/users/templates/users/impressum_p.html @@ -0,0 +1,9 @@ +{% extends "users/publicbase.html" %} +{% block content %} +
+

Impressum

+ {% block impressum_content %} + {% include "users/impressum_content.html" %} + {% endblock %} +
+{% endblock content %} \ No newline at end of file diff --git a/users/templates/users/newusers_email.html b/users/templates/users/newusers_email.html index a9adf00..50a0d1a 100644 --- a/users/templates/users/newusers_email.html +++ b/users/templates/users/newusers_email.html @@ -1,29 +1,184 @@ -{% load i18n %}{% autoescape off %} - + + + - - + + + + + + + + + + + + + + + + -

Digitale Agentur | Account

-
-

- Hallo {{username}},

- für Sie wurde ein Account in der Agentur {{user.profile.agency.name}} erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: -

- https://digitale-agentur.com/password-reset -

- Weitere Informationen erhalten Sie von Ihrem Agenturleiter. -

-

- Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! -

- Mit freundlichen Grüßen -

- Ihr Team von Digitale Agentur -

+
+ +
+ + + + + + +
+ +
+ + + + + + + +
+

+ +
+
+

Digitale Agentur | Account

+
+
+
+ +
+ + + + + + + +
+
+

Hallo {{username}},

+

für Sie wurde ein Account in der Agentur {{user.profile.agency.name}} erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:

+

https://digitale-agentur.com/password-reset

+

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+
+

+ +
+
+ +
+
+ +
- -{% endautoescape %} + + \ No newline at end of file diff --git a/users/templates/users/newusers_email_MJMLPRE.html b/users/templates/users/newusers_email_MJMLPRE.html new file mode 100644 index 0000000..714758a --- /dev/null +++ b/users/templates/users/newusers_email_MJMLPRE.html @@ -0,0 +1,28 @@ +{% load mjml %} +{% mjml %} + + + + + + + + +

Digitale Agentur | Account

+
+ + +

Hallo {{username}},

+

für Sie wurde ein Account in der Agentur {{user.profile.agency.name}} erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen:

+

https://digitale-agentur.com/password-reset

+

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+ +
+
+ +
+
+{% endmjml %} \ No newline at end of file diff --git a/users/templates/users/newusers_email_SAVE_OLD.html b/users/templates/users/newusers_email_SAVE_OLD.html new file mode 100644 index 0000000..a9adf00 --- /dev/null +++ b/users/templates/users/newusers_email_SAVE_OLD.html @@ -0,0 +1,29 @@ +{% load i18n %}{% autoescape off %} + + + + + + +

Digitale Agentur | Account

+
+

+ Hallo {{username}},

+ für Sie wurde ein Account in der Agentur {{user.profile.agency.name}} erstellt. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: +

+ https://digitale-agentur.com/password-reset +

+ Weitere Informationen erhalten Sie von Ihrem Agenturleiter. +

+

+ Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! +

+ Mit freundlichen Grüßen +

+ Ihr Team von Digitale Agentur +

+ + +{% endautoescape %} diff --git a/users/templates/users/password_reset_mail.html b/users/templates/users/password_reset_mail.html index 58283e5..4a0cea0 100644 --- a/users/templates/users/password_reset_mail.html +++ b/users/templates/users/password_reset_mail.html @@ -1,32 +1,187 @@ -{% load i18n %}{% autoescape off %} - + + + - - + + + + + + + + + + + + + + + + -

Digitale Agentur | Passwort vergessen

-
-

- Hallo {{user.first_name}} {{user.last_name}},

- Sie haben ein neues Passwort für den Zugang ihrer Agentur {{user.profile.agency.name}} angefordert. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: -

- {% block reset_link %} -

{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

- {% endblock %} -

Ihr Benutzername: {{ user.get_username }}

-

- Sollten Sie kein Passwort angefordert haben, ignorieren Sie diese E-Mail. -

-

- Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! -

- Mit freundlichen Grüßen -

- Ihr Team von Digitale Agentur -

+
+ +
+ + + + + + +
+ +
+ + + + + + + +
+

+ +
+
+

Digitale Agentur | Passwort vergessen

+
+
+
+ +
+ + + + + + + +
+
+

Hallo {{user.first_name}} {{user.last_name}},

Sie haben ein neues Passwort für den Zugang ihrer Agentur {{user.profile.agency.name}} angefordert. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: +

+ {% block reset_link %} +

{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

{% endblock %} +

Ihr Benutzername: {{ user.get_username }}

+

Sollten Sie kein Passwort angefordert haben, ignorieren Sie diese E-Mail. +

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+
+

+ +
+
+ +
+
+ +
- -{% endautoescape %} + + \ No newline at end of file diff --git a/users/templates/users/password_reset_mail_MJMLPRE.html b/users/templates/users/password_reset_mail_MJMLPRE.html new file mode 100644 index 0000000..422808d --- /dev/null +++ b/users/templates/users/password_reset_mail_MJMLPRE.html @@ -0,0 +1,30 @@ +{% load mjml %} +{% mjml %} + + + + + +

Digitale Agentur | Passwort vergessen

+
+ + +

Hallo {{user.first_name}} {{user.last_name}},

+ Sie haben ein neues Passwort für den Zugang ihrer Agentur {{user.profile.agency.name}} angefordert. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: +

+ {% block reset_link %} +

{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

+ {% endblock %} +

Ihr Benutzername: {{ user.get_username }}

+

+ Sollten Sie kein Passwort angefordert haben, ignorieren Sie diese E-Mail. +

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+ +
+
+
+
+{% endmjml %} \ No newline at end of file diff --git a/users/templates/users/password_reset_mail_SAVE_OLD.html b/users/templates/users/password_reset_mail_SAVE_OLD.html new file mode 100644 index 0000000..58283e5 --- /dev/null +++ b/users/templates/users/password_reset_mail_SAVE_OLD.html @@ -0,0 +1,32 @@ +{% load i18n %}{% autoescape off %} + + + + + + +

Digitale Agentur | Passwort vergessen

+
+

+ Hallo {{user.first_name}} {{user.last_name}},

+ Sie haben ein neues Passwort für den Zugang ihrer Agentur {{user.profile.agency.name}} angefordert. Bitte gehen Sie auf folgenden Link, um ein Passwort zu erstellen: +

+ {% block reset_link %} +

{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}

+ {% endblock %} +

Ihr Benutzername: {{ user.get_username }}

+

+ Sollten Sie kein Passwort angefordert haben, ignorieren Sie diese E-Mail. +

+

+ Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! +

+ Mit freundlichen Grüßen +

+ Ihr Team von Digitale Agentur +

+ + +{% endautoescape %} diff --git a/users/templates/users/publicbase.html b/users/templates/users/publicbase.html index 85cfab0..9893387 100644 --- a/users/templates/users/publicbase.html +++ b/users/templates/users/publicbase.html @@ -44,6 +44,13 @@ + + @@ -55,7 +62,6 @@
- {% block content %} {% endblock %}
diff --git a/users/templates/users/register_mail.html b/users/templates/users/register_mail.html index 8014fe3..9022827 100644 --- a/users/templates/users/register_mail.html +++ b/users/templates/users/register_mail.html @@ -1,31 +1,183 @@ -{% load i18n %}{% autoescape off %} - + + + - - + + + + + + + + + + + + + + + + -

Digitale Agentur Registrierung

-

- Hallo {{username}},
- Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und ihre Agentur gestalten: -

- https://digitale-agentur.com -

-
- Ihr Benutzername: {{ username_log }} -
- Weitere Informationen erhalten Sie in unserem Wiki https://wiki.digitale-agentur.com/ oder per E-Mail an support@digitale-agentur.com! -

-

- Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! -
- Mit freundlichen Grüßen -

- Ihr Team von Digitale Agentur -

+
+ +
+ + + + + + +
+ +
+ + + + + + + +
+

+ +
+
+

Digitale Agentur | Registrierung

+
+
+
+ +
+ + + + + + + +
+
+

Hallo {{username}},

Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und Ihre Agentur gestalten: +

https://digitale-agentur.com


Ihr Benutzername: {{ username_log }}
Weitere Informationen erhalten Sie in unserem Wiki https://wiki.digitale-agentur.com/ oder per E-Mail an support@digitale-agentur.com!

+

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+
+

+ +
+
+ +
+
+ +
- -{% endautoescape %} \ No newline at end of file + + \ No newline at end of file diff --git a/users/templates/users/register_mail_MJMLPRE.html b/users/templates/users/register_mail_MJMLPRE.html new file mode 100644 index 0000000..2810496 --- /dev/null +++ b/users/templates/users/register_mail_MJMLPRE.html @@ -0,0 +1,31 @@ +{% load mjml %} +{% mjml %} + + + + + +

Digitale Agentur | Registrierung

+
+ + +

Hallo {{username}},

+ Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und Ihre Agentur gestalten: +

+ https://digitale-agentur.com +

+
+ Ihr Benutzername: {{ username_log }} +
+ Weitere Informationen erhalten Sie in unserem Wiki https://wiki.digitale-agentur.com/ oder per E-Mail an support@digitale-agentur.com! +

+

Weitere Informationen erhalten Sie von Ihrem Agenturleiter. Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen!

+

Mit freundlichen Grüßen

+

Ihr Team von Digitale Agentur

+
+ +
+
+
+
+{% endmjml %} \ No newline at end of file diff --git a/users/templates/users/register_mail_SAVE_OLD.html b/users/templates/users/register_mail_SAVE_OLD.html new file mode 100644 index 0000000..8014fe3 --- /dev/null +++ b/users/templates/users/register_mail_SAVE_OLD.html @@ -0,0 +1,31 @@ +{% load i18n %}{% autoescape off %} + + + + + + +

Digitale Agentur Registrierung

+

+ Hallo {{username}},
+ Ihre Agentur wurde erstellt. Sie können sich nun hier anmelden und ihre Agentur gestalten: +

+ https://digitale-agentur.com +

+
+ Ihr Benutzername: {{ username_log }} +
+ Weitere Informationen erhalten Sie in unserem Wiki https://wiki.digitale-agentur.com/ oder per E-Mail an support@digitale-agentur.com! +

+

+ Vielen Dank, dass Sie die Plattform Digitale Agentur nutzen! +
+ Mit freundlichen Grüßen +

+ Ihr Team von Digitale Agentur +

+ + +{% endautoescape %} \ No newline at end of file diff --git a/users/urls.py b/users/urls.py index 2c89fc8..d317164 100644 --- a/users/urls.py +++ b/users/urls.py @@ -30,7 +30,9 @@ urlpatterns = [ path('areataskupdate//', views.UsersAreaTaskUpdate, name="users-areataskupdate"), path('globalsearch/', views.GlobalSearch, name="globalsearch"), path('standardrout/', views.searchStandardRouter, name="standardrouter"), - path('support/', views.support, name="supportda"), + path('support/', views.support, name="supportda"), + path('datenschutz/', views.datenschutz, name="datenschutzda"), + path('impressum/', views.impressum, name="impressumda"), path('setuserparent/', views.setuserparent, name="users-setuserparent"), path('sendpassmail/', views.sendpassmail, name="users-sendpassmail") ] diff --git a/users/views.py b/users/views.py index c8ac224..a235ae6 100644 --- a/users/views.py +++ b/users/views.py @@ -556,3 +556,15 @@ def sendpassmail(request): request.META['SERVER_PORT'] = '443' form.save(request= request,use_https=True,from_email="support@digitale-agentur.com",html_email_template_name='users/password_reset_mail.html') return JsonResponse({'message' : 0}) + +def datenschutz(request): + if request.user.is_authenticated: + return render(request, 'users/datenschutz.html') + else: + return render(request, 'users/datenschutz_p.html') + +def impressum(request): + if request.user.is_authenticated: + return render(request, 'users/impressum.html') + else: + return render(request, 'users/impressum_p.html') \ No newline at end of file