From e6df6090835c3368b2623189fa6919ebe2270e9e Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Wed, 14 Oct 2020 18:23:55 +0530 Subject: Allow added teachers to delete course forum posts --- yaksh/templates/yaksh/course_forum.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh') diff --git a/yaksh/templates/yaksh/course_forum.html b/yaksh/templates/yaksh/course_forum.html index acd6861..b98688b 100644 --- a/yaksh/templates/yaksh/course_forum.html +++ b/yaksh/templates/yaksh/course_forum.html @@ -129,7 +129,7 @@ {% endwith %} - {% if user == course.creator %} + {% if user == course.creator or user in course.get_teachers %} {% endif %} -- cgit