diff options
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r-- | yaksh/templates/manage.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html index a7eb187..3ba2817 100644 --- a/yaksh/templates/manage.html +++ b/yaksh/templates/manage.html @@ -25,7 +25,13 @@ <a class="dropdown-item" href="{{ URL_ROOT }}/exam/reset/changepassword/"><i class="fa fa-key"></i> Change Password</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="{{URL_ROOT}}/exam/logout/"><i class="fa fa-sign-out"></i> Logout</a> - </div> + <div class="dropdown-divider"></div> + {% if user.profile.is_moderator %} + <a class="dropdown-item" href="{{URL_ROOT}}/exam/toggle_moderator/"><i class="fa fa-exchange"></i> + Switch To Student + </a> + {% endif %} + </div> </ul> </div> </div> |