From c974da07d46709d3aa3640ba69c89d1a287ff3c1 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Mon, 7 Mar 2016 17:20:55 +0530 Subject: UI modification and checks for answerpaper before evaluating. --- yaksh/templates/yaksh/course_detail.html | 4 ++-- yaksh/templates/yaksh/courses.html | 17 ++++++++++++++--- 2 files changed, 16 insertions(+), 5 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/yaksh/course_detail.html b/yaksh/templates/yaksh/course_detail.html index cae7335..ed56585 100644 --- a/yaksh/templates/yaksh/course_detail.html +++ b/yaksh/templates/yaksh/course_detail.html @@ -1,8 +1,8 @@ {% extends "manage.html" %} -{% block title %} Course Detail {% endblock title %} +{% block title %} Course {% endblock title %} -{% block subtitle %} Course Detail for {{ course.name }} {% endblock %} +{% block subtitle %} {{ course.name }} {% endblock %} {% block css %} diff --git a/yaksh/templates/yaksh/courses.html b/yaksh/templates/yaksh/courses.html index 291a746..f8f8273 100644 --- a/yaksh/templates/yaksh/courses.html +++ b/yaksh/templates/yaksh/courses.html @@ -17,15 +17,26 @@
Course
++ Course + {% if course.active %} + Active + {% else %} + Closed + {% endif %} +
{{ course.name }}Quiz(zes)
- {% for quiz in course.get_quizzes %} - {{ quiz.description }}No quiz
+ {% endif %}