From cdab789f4e06f8484ef1c79ca66f37bb971be454 Mon Sep 17 00:00:00 2001 From: CruiseDevice Date: Mon, 24 May 2021 17:37:48 +0530 Subject: Fix minor ui issue in moderator interface - Move 'Deactivate course' to the end of the dropdown. - First page of 'Manage Course' shows enrollments. --- yaksh/templates/yaksh/course_detail.html | 29 ----- yaksh/templates/yaksh/course_detail_options.html | 149 +++++++++++++++-------- yaksh/templates/yaksh/courses.html | 76 +++++++----- yaksh/urls.py | 2 - yaksh/views.py | 39 ++---- 5 files changed, 159 insertions(+), 136 deletions(-) diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index 8661aea..04a11e8 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -58,35 +58,6 @@ {% elif is_upload_download_md %} {% include "yaksh/upload_download_course_md.html" %} {% else %} -
-

Manage Course

-
-

-

-

-

- - - Learn more - -

-
{% endif %} diff --git a/yaksh/templates/yaksh/course_detail_options.html b/yaksh/templates/yaksh/course_detail_options.html index f9393ed..0910c01 100644 --- a/yaksh/templates/yaksh/course_detail_options.html +++ b/yaksh/templates/yaksh/course_detail_options.html @@ -1,51 +1,104 @@ - -  Back + +  Back

-