summaryrefslogtreecommitdiff
path: root/yaksh/templates/manage.html
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/templates/manage.html')
-rw-r--r--yaksh/templates/manage.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/yaksh/templates/manage.html b/yaksh/templates/manage.html
index 3ba2817..fbd4c64 100644
--- a/yaksh/templates/manage.html
+++ b/yaksh/templates/manage.html
@@ -18,19 +18,20 @@
<li class="nav-item"><a class="nav-link" href="{{ URL_ROOT }}/exam/manage/gradeuser">Grade User</a></li>
<li class="nav-item"><a class="nav-link" href="{{ url_root }}/exam/manage/grader"> Regrade </a></li>
<li class="nav-item dropdown">
- <a class="dropdown-toggle nav-link" data-toggle="dropdown" href="#"> {{user.get_full_name|title}}</a>
+ <a class="dropdown-toggle nav-link" id="user_dropdown" data-toggle="dropdown" href="#"> {{user.get_full_name|title}}</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="{{ URL_ROOT }}/exam/viewprofile/"><i class="fa fa-user"></i> My Profile</a>
<div class="dropdown-divider"></div>
- <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 Student
</a>
+ <div class="dropdown-divider"></div>
{% endif %}
+ <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" id="user_logout" href="{{URL_ROOT}}/exam/logout/"><i class="fa fa-sign-out"></i> Logout</a>
+ <div class="dropdown-divider"></div>
</div>
</ul>
</div>