diff --git a/lms/templates/discussion/_recent_active_posts.html b/lms/templates/discussion/_recent_active_posts.html index 6a476f3c14..0e087b5eca 100644 --- a/lms/templates/discussion/_recent_active_posts.html +++ b/lms/templates/discussion/_recent_active_posts.html @@ -2,8 +2,10 @@
Recent Activity:
-
- % for thread in recent_active_threads: - ${thread['title']} - % endfor -
+% if recent_active_threads: +
+ % for thread in recent_active_threads: + ${thread['title']} + % endfor +
+% endif \ No newline at end of file diff --git a/lms/templates/discussion/_trending_tags.html b/lms/templates/discussion/_trending_tags.html index 1460cb5888..9cc97c7921 100644 --- a/lms/templates/discussion/_trending_tags.html +++ b/lms/templates/discussion/_trending_tags.html @@ -1,11 +1,12 @@