diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 4c24884..67f397b 100644 Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index e39a8ad..9cc2733 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -41,7 +41,10 @@ CRONAPIKEY = "gCddsaz6NOnE9QbXZM5LasdEk122D" CRONAPIKEY_STATSTIC = "gCddsaz6NOnE9QbXZM5LasdEk122D" MAILINFOKEY = "jka7sd8iukashdna78skduJAHDsu6dilaksdjba65a68iadbhjak" # API KEY LEXOFFICE -LEX_API = "8f9ba01f-9e84-42c7-9548-48c254f14c19" +#ALTER LEX_API = "8f9ba01f-9e84-42c7-9548-48c254f14c19" + +# Gültig bis 17.10.2022 +LEX_API = "8dcbd7a5-9447-417f-a4a4-989818742a36" # KEYS FOR ENCRYPTED FILE FIELDS DEFF_SALT = 'A-!GDtuKp?H/H5-UUatEh6ZcG/6h-VQf1OkDORRkK0(:(qCf//' diff --git a/users/templates/users/landingpage.html b/users/templates/users/landingpage.html index b9bfdcf..3e8dace 100644 --- a/users/templates/users/landingpage.html +++ b/users/templates/users/landingpage.html @@ -6,7 +6,7 @@ @@ -31,7 +37,7 @@

Bestellung der Digitalen Agentur und Notfallhilfe

Nutzen Sie die Digitale Agentur und Notfallhilfe. Exklusiv und nur für VVE-Mitglieder.

- Informationen herunterladen +

@@ -39,10 +45,21 @@

Digitale Agentur

- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. +

-

- Registrieren +

+

24,99 €

+ Brutto pro Monat inkl. drei Nutzer
jeder weitere Nutzer 3,52 €
+

+

+ Kostenlos testen

@@ -50,7 +67,18 @@

Notfallhilfe

- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. + +

+ + +

+

25,00 €

+ Brutto für Konfektionierung, Versand und Porto +

Bestellen

@@ -61,9 +89,15 @@

Kombi-Paket

- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. - + Wenn Sie die Notfallhilfe beim Abschluss des Abonnements der Digitalen Agentur hinzubuchen, sparen Sie € 10,00 auf die Notfallhilfe und erhalten zudem Zugriff auf die digitale Version der Notfallhilfe. +

+ Starten Sie dafür einfach den kostenlosen Testzeitraum und wählen unter "Einstellungen" und "Abrechnung" die Notfallhilfe an.

+

+ + Im Kombipakett zahlen Sie für die Notfallhilfe statt 25,00 € +

nur 15,00 €

+

diff --git a/users/views.py b/users/views.py index e4a7890..39e9a78 100644 --- a/users/views.py +++ b/users/views.py @@ -428,7 +428,15 @@ def dashboard(request): filterdate = datetime.now() #news = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__let=filterdate).filter(go_offline_on__get=filterdate).order_by('-go_online_on')[:4] - news = news = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__gt=filterdate).order_by('-created_date') | News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__isnull=True).order_by('-created_date') + news_all = News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__gt=filterdate).order_by('-created_date') | News.objects.filter(agency__pk=request.user.profile.agency.pk).filter(go_online_on__lt=filterdate).filter(go_offline_on__isnull=True).order_by('-created_date') + + # Maximal fünf News final zur Seite schicken! + news = [] + for n in news_all: + if len(news) < 5: + news.append(n) + + context.update({'active_link' : 'dashboard', 'standards_of_agency' : standards_of_agency, 'news' : news}) # GET ACUTAL ABSENCES