diff options
author | ankitjavalkar | 2018-09-28 15:18:13 +0530 |
---|---|---|
committer | ankitjavalkar | 2018-09-28 15:18:13 +0530 |
commit | cb907831ace6a4ecf37c7a6149c6ebef21ffd772 (patch) | |
tree | 9f21a51eda96ae06bae486c554e77e989d305ddc /yaksh/templates/user.html | |
parent | f5effc2db11d6e1e9064bc0dde1628b3018239f6 (diff) | |
download | online_test-cb907831ace6a4ecf37c7a6149c6ebef21ffd772.tar.gz online_test-cb907831ace6a4ecf37c7a6149c6ebef21ffd772.tar.bz2 online_test-cb907831ace6a4ecf37c7a6149c6ebef21ffd772.zip |
Add Switch To buttons in main menu and minor UI changes
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> |