From 88888903ab357a3656e5ef8393fe86bbb5672f2b Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Wed, 14 Apr 2021 06:41:54 +0530 Subject: [PATCH] fix: discussion tab when there are no messages - fixed the issue of not showing discussion tab when there are no messages - fixed the error when the course page is visited by a guest user --- community/www/courses/course.html | 2 +- community/www/courses/course.py | 122 ++++++++++++++++-------------- 2 files changed, 65 insertions(+), 59 deletions(-) diff --git a/community/www/courses/course.html b/community/www/courses/course.html index 6dd821aa..8b40e9cf 100644 --- a/community/www/courses/course.html +++ b/community/www/courses/course.html @@ -27,7 +27,7 @@ Course Details - {% if discussions %} + {% if current_batch %}