diff options
Diffstat (limited to 'yaksh/templates/user.html')
-rw-r--r-- | yaksh/templates/user.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/yaksh/templates/user.html b/yaksh/templates/user.html index 91b48ed..db65195 100644 --- a/yaksh/templates/user.html +++ b/yaksh/templates/user.html @@ -15,19 +15,20 @@ <ul class="nav nav-pills ml-auto"> <li class="nav-item"><a class="nav-link" href="{{ URL_ROOT }}/exam/"><i class="fa fa-home" style="size: 18px"></i></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 Moderator </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 id="user_logout" class="dropdown-item" href="{{URL_ROOT}}/exam/logout/"><i class="fa fa-sign-out"></i> Logout</a> + </div> </li> </ul> |