From ed95d39b26dff2724875b16365dfbe36146577c0 Mon Sep 17 00:00:00 2001 From: "holger.trampe" Date: Sun, 10 May 2020 17:14:34 +0200 Subject: [PATCH] =?UTF-8?q?DEV=20F=C3=9CR=200.9.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../__pycache__/settings.cpython-38.pyc | Bin 4093 -> 4093 bytes .../templates/organizer/contacts_content.html | 4 +++- .../organizer/organizer_management.html | 6 +++--- .../organizer/passwords_content.html | 9 +++++---- .../organizer/quicklinks_content.html | 4 +++- .../standards/standards_management.html | 6 +++--- .../standards/standards_single_agn.html | 5 +---- 7 files changed, 18 insertions(+), 16 deletions(-) diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index a3abf1ab3b4b39ba26dab2d29b07ec0ecb9a7c85..ae6a441db8bfabf432b2e07f815861d25cac5944 100644 GIT binary patch delta 19 Zcmew>|5u(Xl$V!_0SH2+HgbLD2LLt;1n2+& delta 19 Zcmew>|5u(Xl$V!_0SLl)H*$UE2LLtD1l#}s diff --git a/organizer/templates/organizer/contacts_content.html b/organizer/templates/organizer/contacts_content.html index 70c4d79..acb6bde 100644 --- a/organizer/templates/organizer/contacts_content.html +++ b/organizer/templates/organizer/contacts_content.html @@ -41,6 +41,7 @@ {% if agc.category != None%} {{agc.category}} {% endif%} + {% if user|usergperm:"moduleorganizer" %} {% if user|usergperm:"moduleorganizer" %} @@ -52,7 +53,8 @@ {% endif %} - + + {% endif %} {% endfor %} diff --git a/organizer/templates/organizer/organizer_management.html b/organizer/templates/organizer/organizer_management.html index 6e3097d..1912438 100644 --- a/organizer/templates/organizer/organizer_management.html +++ b/organizer/templates/organizer/organizer_management.html @@ -28,7 +28,7 @@
Quicklinks{% if request.user.profile.showtooltips %} {% endif %} {% if user|usergperm:"moduleorganizer" %}  Quicklink{% endif %}
-
+ {% if user|usergperm:"moduleorganizer" %}
{% endif %} {% block quicklinks_content %} {% include "organizer/quicklinks_content.html" %} {% endblock %} @@ -42,7 +42,7 @@  Kontakt {% endif %} -
+ {% if user|usergperm:"moduleorganizer" %}
{% endif %} {% block contacts_content %} {% include "organizer/contacts_content.html" %} {% endblock %} @@ -54,7 +54,7 @@  Passwort {% endif %} -
+ {% if user|usergperm:"moduleorganizer" %}
{% endif %} {% block passwords_content %} {% include "organizer/passwords_content.html" %} {% endblock %} diff --git a/organizer/templates/organizer/passwords_content.html b/organizer/templates/organizer/passwords_content.html index ca3e954..b2d65d5 100644 --- a/organizer/templates/organizer/passwords_content.html +++ b/organizer/templates/organizer/passwords_content.html @@ -59,8 +59,8 @@ - {% if user|usergperm:"moduleorganizer" %} + - - {% endif %} + + {% endif %} {% else %} -  {{ap.name}} +  {{ap.name}}{% if user|usergperm:"moduleorganizer" %} {% endif %} + {% endif %} {% endfor %} diff --git a/organizer/templates/organizer/quicklinks_content.html b/organizer/templates/organizer/quicklinks_content.html index 062a322..95bb0d4 100644 --- a/organizer/templates/organizer/quicklinks_content.html +++ b/organizer/templates/organizer/quicklinks_content.html @@ -26,6 +26,7 @@ {{ql.name }} {{ ql.link }} + {% if user|usergperm:"moduleorganizer" %} {% if user|usergperm:"moduleorganizer" %} @@ -38,7 +39,8 @@ {% endif %} - + + {% endif %} {% endfor %} diff --git a/standards/templates/standards/standards_management.html b/standards/templates/standards/standards_management.html index 4579fb0..ba7eb26 100644 --- a/standards/templates/standards/standards_management.html +++ b/standards/templates/standards/standards_management.html @@ -141,12 +141,12 @@ Veröffentlichung aufheben {% else %} {% if standard.area != None and standard.task != None %} - Veröffentlichen - {% endif %} + Veröffentlichen + {% endif %} {% endif %} {% endif %} {% if standard.created_standard_by == request.user or perms.users.standardmanager %} - Bearbeiten + Bearbeiten {% endif %} Löschen diff --git a/standards/templates/standards/standards_single_agn.html b/standards/templates/standards/standards_single_agn.html index 0d6b2ef..d0fecbd 100644 --- a/standards/templates/standards/standards_single_agn.html +++ b/standards/templates/standards/standards_single_agn.html @@ -25,7 +25,7 @@
- {% if standard.addedfiles.all|length > 0 or standard.linked_standards.all|length > 0 or standard.authority.count > 0 or standard.executor.count > 0 or standard.representative.count > 0 or standard.addedfiles.all|length > 0 or standard.linked_standards.all|length > 0 or standard.freefield_title|length > 0 %} + {% if standard.addedfiles.all|length > 0 or standard.linked_standards.all|length > 0 or standard.addedfiles.all|length > 0 or standard.linked_standards.all|length > 0 or standard.freefield_title|length > 0 %}
{% else %}
@@ -38,10 +38,7 @@

-
- - {% if standard.freefield_title|length > 0 %}