]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: Changes for Sign out text 58988/head
authorPrachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
Thu, 25 Jul 2024 09:18:23 +0000 (14:48 +0530)
committerPrachi Goel <prachi@li-f0e8f2cc-27e0-11b2-a85c-b2772164128d.ibm.com>
Tue, 24 Sep 2024 08:36:03 +0000 (14:06 +0530)
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

src/pybind/mgr/dashboard/frontend/cypress/e2e/ui/login.po.ts
src/pybind/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html

index d4d2c692116a8d87d98fed9cc49bb192ca28e42f..6b4161d7a4332a8caa0179b5bf8330008958da08 100644 (file)
@@ -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');
   }
index 61e0e0527fe637b57d59fb844f4acb4e60b0fef4..74f896c4a74f350e8d01809534fb334786b5b7cf 100644 (file)
@@ -11,7 +11,7 @@
   <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"
@@ -22,7 +22,7 @@
     <button ngbDropdownItem
             (click)="logout()">
       <i [ngClass]="[icons.signOut]"></i>
-      <span i18n>Sign out</span>
+      <span i18n>Log out</span>
     </button>
   </div>
 </div>