Fixes: https://tracker.ceph.com/issues/67075
Signed-off-by: Prachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
(cherry picked from commit
039377fa2904c8537f3ec4d5effbdb4f4ac4a95a)
Conflicts:
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html
Changed text from Sign out to Log out
doLogout() {
cy.get('cd-identity a').click();
- cy.contains('cd-identity span', 'Sign out').click();
+ cy.contains('cd-identity span', 'Log out').click();
cy.get('cd-login').should('exist');
cy.location('hash').should('eq', '#/login');
}
<div ngbDropdownMenu>
<button ngbDropdownItem
disabled
- i18n>Signed in as <strong>{{ username }}</strong></button>
+ i18n>Logged in as <strong>{{ username }}</strong></button>
<hr class="dropdown-divider" />
<button ngbDropdownItem
*ngIf="!sso"
<button ngbDropdownItem
(click)="logout()">
<i [ngClass]="[icons.signOut]"></i>
- <span i18n>Sign out</span>
+ <span i18n>Log out</span>
</button>
</div>
</div>