diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 0f8659d..24d36b4 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 9b28b17..22b2e57 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -15,9 +15,9 @@ import os # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + ############################################## DEV ##################################### BASE_URL = "https://dev01.digitale-agentur.com/" -CRONAPIKEY = "gCddsaz6NOnE9QbXZM5LasdEk122D" # MAIL DEV EMAIL_HOST = 'smtp.strato.de' @@ -57,8 +57,6 @@ DEBUG = True ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', 'localhost', 'dev01.digitale-agentur.com'] - - # Application definition INSTALLED_APPS = [ 'notificsys.apps.NotificsysConfig', diff --git a/standards/templates/standards/standards_update.html b/standards/templates/standards/standards_update.html index 3030003..0f75ce8 100644 --- a/standards/templates/standards/standards_update.html +++ b/standards/templates/standards/standards_update.html @@ -40,8 +40,6 @@ - -
@@ -197,26 +195,29 @@
+ - - - - +
+

Wenn ein Standard bearbeitet wurde, kann er nur von einer Person mit dem Recht Standards bearbeiten und freischalten wieder veröffentlicht werden. Ein Standard wird nach Bearbeitung als Nicht veröffentlicht gesetzt.

-
-   +
+ +   {% if perms.users.standard_management %} {% if standard_status == False %} - Standard veröffentlichen  + Standard veröffentlichen  {% else %} - Veröffentlichung aufheben  + Veröffentlichung aufheben  {% endif %} {% endif %} - Abbrechen + Abbrechen +
+ + + {% endblock content %} diff --git a/users/views.py b/users/views.py index d05b6f4..d2c00e6 100644 --- a/users/views.py +++ b/users/views.py @@ -35,7 +35,7 @@ from message.models import Message from notificsys.models import UserNotification from organizer.models import AGContacts, AGPassword import socket - +import sys def randomString(stringLength=10): """Generate a random string of fixed length """ @@ -171,8 +171,11 @@ def dashboard(request): toUpdate(request) + storageinfo = sys.getfilesystemencoding() + context = { - 'active_link' : 'dashboard' + 'active_link' : 'dashboard', + "systemencode" : storageinfo } # Adding active_link # Loading only user same agency