Merge pull request #157 from Microsoft/oxa/dev.fic_msa

Hide user dropdown options during msa migration
This commit is contained in:
Kabir Khan 2018-02-28 11:36:28 -08:00 коммит произвёл GitHub
Родитель a2661172d3 8162cd8051
Коммит 914b44a939
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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">
${navigation_dropdown_menu_links()}
% 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>