diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc
index a3abf1a..ae6a441 100644
Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ
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 @@
Kopiert!
-
{% 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 %}