From 61e2d0a8db29d8b863ad90f9b5bcd17718c35048 Mon Sep 17 00:00:00 2001 From: Prachi Goel Date: Thu, 25 Jul 2024 14:48:23 +0530 Subject: [PATCH] mgr/dashboard: Changes for Sign out text Fixes: https://tracker.ceph.com/issues/67075 Signed-off-by: Prachi Goel (cherry picked from commit 039377fa2904c8537f3ec4d5effbdb4f4ac4a95a) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html Changes for text from sign out to Log out --- src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts | 2 +- .../src/app/core/navigation/identity/identity.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts b/src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts index d4d2c692116a8..6b4161d7a4332 100644 --- a/src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts +++ b/src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts @@ -15,7 +15,7 @@ export class LoginPageHelper extends PageHelper { 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'); } diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html index 61e0e0527fe63..74f896c4a74f3 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html @@ -11,7 +11,7 @@
+ i18n>Logged in as {{ username }}
-- 2.39.5