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 @@
From: {{message.creator.get_full_name}}
+ {% if user.id != message.creator.id %} +From: {{message.creator.get_full_name}}
+ {% endif %}Description:
{{message.description|safe}}