diff options
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> |