diff options
author | adityacp | 2020-04-20 16:33:55 +0530 |
---|---|---|
committer | adityacp | 2020-04-20 16:33:55 +0530 |
commit | aa55eca2e8c745ef22226b4e41eae5f060154aa1 (patch) | |
tree | 93d3af65fa461b4a3564ea4cea4a001ceaca273b /yaksh/templates | |
parent | 348f2bc4f727b27abd9878334e886527479d260c (diff) | |
download | online_test-aa55eca2e8c745ef22226b4e41eae5f060154aa1.tar.gz online_test-aa55eca2e8c745ef22226b4e41eae5f060154aa1.tar.bz2 online_test-aa55eca2e8c745ef22226b4e41eae5f060154aa1.zip |
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
Diffstat (limited to 'yaksh/templates')
-rw-r--r-- | yaksh/templates/manage.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/grade_user.html | 2 | ||||
-rw-r--r-- | yaksh/templates/yaksh/view_notifications.html | 4 |
3 files changed, 5 insertions, 3 deletions
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 @@ </li> <li class="nav-item"> <a class="nav-link" href="{% url 'yaksh:grade_user' %}"> - Grader + Quizzes </a> </li> </ul> 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() <div id="accordian-questions" class="card"> <div class="card-header"> <a class="card-link" data-toggle="collapse" href="#questions"> - Regrade all papers by Questions <i class="fa fa-angle-down"></i> + Regrade papers by questions <i class="fa fa-angle-down"></i> </a> </div> <div id="questions" class="collapse hide" data-parent="#accordion-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 @@ </a> </div> <div class="toast-body"> - <p><b>From: </b>{{message.creator.get_full_name}}</p> + {% if user.id != message.creator.id %} + <p><b>From: </b>{{message.creator.get_full_name}}</p> + {% endif %} <p><b>Description:</b></p> {{message.description|safe}} </div> |