From bc275976bcba4624de66a2fe69d147a32d50a37d Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Thu, 21 Feb 2019 17:09:05 +0530 Subject: Add Download Course button in Course Module template --- yaksh/templates/yaksh/course_modules.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/course_modules.html b/yaksh/templates/yaksh/course_modules.html index d5bbfd3..0c75b91 100644 --- a/yaksh/templates/yaksh/course_modules.html +++ b/yaksh/templates/yaksh/course_modules.html @@ -14,10 +14,17 @@ {% block main %}
-
-
-
-
{{ course.name }}
+
+
+
+
{{ course.name }}
+
+ {% if course.has_lessons %} + + Download Course + + {% endif %} +
-- cgit From f8fdaabc6725ac4019e6017b3f41c29341e16218 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Thu, 28 Feb 2019 15:59:04 +0530 Subject: Use built-in django url tag inplace of hard-code URL in template --- yaksh/templates/yaksh/course_modules.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/course_modules.html b/yaksh/templates/yaksh/course_modules.html index 0c75b91..e1fdc51 100644 --- a/yaksh/templates/yaksh/course_modules.html +++ b/yaksh/templates/yaksh/course_modules.html @@ -20,7 +20,7 @@
{{ course.name }}
{% if course.has_lessons %} - + Download Course {% endif %} -- cgit