From f066336e11d7efb7ae117b38fc49d53af12b427e Mon Sep 17 00:00:00 2001 From: Egor Matveev Date: Sat, 18 Dec 2021 13:36:38 +0300 Subject: [PATCH] fix --- templates/tasks.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tasks.html b/templates/tasks.html index 2a87830..cb37cb3 100644 --- a/templates/tasks.html +++ b/templates/tasks.html @@ -44,6 +44,6 @@ {% for task in tasks %} - {{ task.name }} {% if task.creator == user %} {% endif %}
+ {{ task.name }} {% if task.creator == user or user.username in task.editors %} {% endif %}
{% endfor %} {% endblock %} \ No newline at end of file