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/manage.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/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> |