From 31e258a9d2e253691fd548d47aaab3cfee756322 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Thu, 17 Sep 2020 13:32:12 +0530 Subject: Fix tests and minor changes --- yaksh/templates/yaksh/course_forum.html | 42 ++++++++++++++++---------------- yaksh/templates/yaksh/lessons_forum.html | 12 ++++++--- 2 files changed, 29 insertions(+), 25 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/course_forum.html b/yaksh/templates/yaksh/course_forum.html index a9bda6f..0346121 100644 --- a/yaksh/templates/yaksh/course_forum.html +++ b/yaksh/templates/yaksh/course_forum.html @@ -55,28 +55,28 @@
-
-
-
-
- - - - -
-
-
-
- -  Clear Search - -
-
-
{% with objects as posts %} {% if posts %} +
+
+
+
+ + + + +
+
+
+
+ +  Clear Search + +
+
+
{% include "yaksh/paginator.html" %}
@@ -120,7 +120,7 @@
{% include "yaksh/paginator.html" %} {% else %} - No discussion posts are there yet. Create one to start discussing. +
No discussion posts are there yet. Create one to start discussing.
{% endif %} {% endwith %} diff --git a/yaksh/templates/yaksh/lessons_forum.html b/yaksh/templates/yaksh/lessons_forum.html index a4fd23b..ee65074 100644 --- a/yaksh/templates/yaksh/lessons_forum.html +++ b/yaksh/templates/yaksh/lessons_forum.html @@ -7,10 +7,6 @@
{% include "yaksh/sidebar.html" %}
-
-

{{course.name}}

-
Discussion Forum
-
{% if moderator %} @@ -25,6 +21,10 @@
{% if posts %} +
+

{{course.name}}

+
Discussion Forum
+
@@ -63,6 +63,10 @@ {% endfor %}
+ {% else %} +
+
No Lesson posts here. They will appear when someone comments on video lessons.
+
{% endif %} -- cgit