diff options
Diffstat (limited to 'yaksh/templates/user.html')
-rw-r--r-- | yaksh/templates/user.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index 134ba85..91b48ed 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -22,6 +22,12 @@ <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 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 Moderator + </a> + {% endif %} </div> </li> </ul> |