Merge pull request #157 from Microsoft/oxa/dev.fic_msa
Hide user dropdown options during msa migration
This commit is contained in:
Коммит
914b44a939
|
@ -20,9 +20,7 @@ from openedx.core.djangoapps.user_api.accounts.image_helpers import get_profile_
|
|||
<span class="sr-only">${_("Dashboard for:")}</span>
|
||||
<%
|
||||
username = self.real_user.username
|
||||
profile_image_url = get_profile_image_urls_for_user(self.real_user)['small']
|
||||
%>
|
||||
<!--<img class="menu-image" src="${profile_image_url}" alt="">-->
|
||||
${username}
|
||||
</a>
|
||||
<div role="group" aria-label="User menu" class="user-menu">
|
||||
|
@ -55,7 +53,9 @@ from openedx.core.djangoapps.user_api.accounts.image_helpers import get_profile_
|
|||
<div role="group" aria-label="User menu" class="user-menu">
|
||||
<button class="dropdown" aria-expanded="false"><span class="sr">${_("More options dropdown")}</span><span class="fa fa-sort-desc" aria-hidden="true"></span></button>
|
||||
<ul class="dropdown-menu" aria-label="More Options" role="menu">
|
||||
% if request.path() not in ['/account/link', '/account/link/confirm']:
|
||||
${navigation_dropdown_menu_links()}
|
||||
% endif
|
||||
<li class="item"><a href="${reverse('logout')}" role="menuitem" class="dropdown-menuitem">${_("Sign Out")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче