From 4c0577e2191ec883d39c9d66c15bb675a24a01dc Mon Sep 17 00:00:00 2001
From: papi Course Add & Drop Course Add & Drop {{ course.summary }} {{ course.summary }} {{ program.summary }} {{ program.summary }} {% trans "There are no matching results for your search..." %}. {% trans "No completed exams for you" %}.
- No Student.
+ No Student.
{% if request.user.is_superuser %}
diff --git a/templates/course/course_add.html b/templates/course/course_add.html
index ecf999b..1bf00b2 100644
--- a/templates/course/course_add.html
+++ b/templates/course/course_add.html
@@ -8,8 +8,8 @@
Programs Add & Update Course
+
{% if messages %}
{% for message in messages %}
{% if message.tags == 'error' %}
diff --git a/templates/course/course_registration.html b/templates/course/course_registration.html
index 5048861..931f03c 100644
--- a/templates/course/course_registration.html
+++ b/templates/course/course_registration.html
@@ -7,7 +7,7 @@
{% block content %}
-
- No Course.
+ No Course.
@@ -153,7 +153,7 @@
- No Course.
+ No Course.
@@ -259,7 +259,7 @@
- No Course.
+ No Course.
diff --git a/templates/course/course_single.html b/templates/course/course_single.html
index 050b053..43057a4 100644
--- a/templates/course/course_single.html
+++ b/templates/course/course_single.html
@@ -16,16 +16,16 @@
- No video Uploaded.
+ No video Uploaded.
{% if request.user.is_superuser or request.user.is_lecturer %}
@@ -190,7 +190,7 @@
- No File Uploaded.
+ No File Uploaded.
{% if request.user.is_superuser or request.user.is_lecturer %}
diff --git a/templates/course/program_list.html b/templates/course/program_list.html
index af80cac..e257b89 100644
--- a/templates/course/program_list.html
+++ b/templates/course/program_list.html
@@ -113,6 +113,26 @@
{% endif %}
+ {% empty %}
+
+
{% endfor %}
diff --git a/templates/course/program_single.html b/templates/course/program_single.html
index 747ad76..d2f3d2d 100644
--- a/templates/course/program_single.html
+++ b/templates/course/program_single.html
@@ -19,7 +19,7 @@
{% if program %}
+
+
+
+ No program.
+ {% if request.user.is_superuser %}
+
+
+ Add program now.
+
+ {% endif %}
+
+
+
+
+
+
+
+
{% endfor %}
diff --git a/templates/quiz/sitting_list.html b/templates/quiz/sitting_list.html
index bc8658d..4c54102 100644
--- a/templates/quiz/sitting_list.html
+++ b/templates/quiz/sitting_list.html
@@ -53,7 +53,7 @@
{% else %}
-
+
+ No course for this progrm.
+ {% if request.user.is_superuser %}
+
+
+ Add one now.
+
+ {% endif %}
+
+
+
+
No course.
+No course.
{% endfor %} @@ -131,7 +131,7 @@