From 2efd65cb2dd276e1560c8993e13d9db95e6c8ba0 Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 16 Sep 2016 19:25:33 +0530 Subject: changed courses template --- yaksh/templates/yaksh/courses.html | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html index 4852d25..df46ba6 100644 --- a/yaksh/templates/yaksh/courses.html +++ b/yaksh/templates/yaksh/courses.html @@ -15,11 +15,24 @@ {% else %}

Course(s) Created

{% for course in courses %} - {% if user != course.creator and course.name != "Demo_course"%} + {% if user != course.creator and course.name != "Yaksh_Demo_course"%}

{{course.creator.get_full_name}} added you to this course

{% endif %} - {% if course.name == "Demo_course" %} -

This is Demo Course

+ {% if course.name == "Yaksh_Demo_course" %} +
This is a Demo Course + Help +
+ {% endif %}
@@ -83,7 +96,7 @@

{% endfor %} {% endif %} - +
{% if allotted_courses %}

Course(s) Allotted

@@ -150,6 +163,7 @@ {% else %}

No new Courses allotted

{% endif %} +
{% if courses or allotted_courses %} -- cgit