From aa55eca2e8c745ef22226b4e41eae5f060154aa1 Mon Sep 17 00:00:00 2001 From: adityacp Date: Mon, 20 Apr 2020 16:33:55 +0530 Subject: Change tasks, test_views, templates - Change notification message in celery task - Fix views test for regrade - Change name from Grader to Quizzes in manage.html navbar --- yaksh/templates/manage.html | 2 +- yaksh/templates/yaksh/grade_user.html | 2 +- yaksh/templates/yaksh/view_notifications.html | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'yaksh/templates') diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index 1b3527d..6047fc5 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -24,7 +24,7 @@ diff --git a/yaksh/templates/yaksh/grade_user.html b/yaksh/templates/yaksh/grade_user.html index 223ff36..fdfcc4e 100644 --- a/yaksh/templates/yaksh/grade_user.html +++ b/yaksh/templates/yaksh/grade_user.html @@ -126,7 +126,7 @@ $(document).ready(function()
- Regrade all papers by Questions  + Regrade papers by questions 
diff --git a/yaksh/templates/yaksh/view_notifications.html b/yaksh/templates/yaksh/view_notifications.html index 72f90f8..48193ed 100644 --- a/yaksh/templates/yaksh/view_notifications.html +++ b/yaksh/templates/yaksh/view_notifications.html @@ -39,7 +39,9 @@
-

From: {{message.creator.get_full_name}}

+ {% if user.id != message.creator.id %} +

From: {{message.creator.get_full_name}}

+ {% endif %}

Description:

{{message.description|safe}}
-- cgit