From 66af88145a5b1b8c4ab35678e1c2dd969c3c9923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 9 Sep 2021 15:13:04 +0300 Subject: [PATCH] Add "if read-write" conditionals for modals in project.html --- templates/accounts/project.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/accounts/project.html b/templates/accounts/project.html index 26975531..60b61c40 100644 --- a/templates/accounts/project.html +++ b/templates/accounts/project.html @@ -358,11 +358,14 @@ +{% if rw %}
{% csrf_token %}
+{% endif %} +{% if rw %} +{% endif %} +{% if is_manager %} +{% endif %} +{% if is_manager %} +{% endif %} +{% if rw %} +{% endif %} +{% if is_owner %} +{% endif %} {% if is_owner and not transfer_request %}