@@ -16,11 +16,11 @@ import { pluralize } from '../../../../../system/string';
1616import type { State } from '../../../../home/protocol' ;
1717import { stateContext } from '../../../home/context' ;
1818import { elementBase , linkBase } from '../../../shared/components/styles/lit/base.css' ;
19+ import '../../../shared/components/accordion/accordion' ;
1920import '../../../shared/components/button' ;
2021import '../../../shared/components/button-container' ;
2122import '../../../shared/components/code-icon' ;
2223import '../../../shared/components/promo' ;
23- import '../../../shared/components/accordion/accordion' ;
2424
2525@customElement ( 'gl-home-account-content' )
2626export class GLHomeAccountContent extends LitElement {
@@ -142,6 +142,7 @@ export class GLHomeAccountContent extends LitElement {
142142 color: var(--color-foreground--65);
143143 background-color: var(--vscode-toolbar-hoverBackground);
144144 border-radius: 50%;
145+ margin-right: 0.6rem;
145146 }
146147
147148 .account > :first-child {
@@ -150,6 +151,11 @@ export class GLHomeAccountContent extends LitElement {
150151 .account > :last-child {
151152 margin-block-end: 0;
152153 }
154+
155+ hr {
156+ border: none;
157+ border-top: 1px solid var(--color-foreground--25);
158+ }
153159 ` ,
154160 ] ;
155161
@@ -242,14 +248,21 @@ export class GLHomeAccountContent extends LitElement {
242248 this . _state . organizationsCount ! > 1 ,
243249 ( ) =>
244250 html `< div class ="org__signout ">
245- < span class ="org__badge "> +${ this . _state . organizationsCount ! - 1 } </ span >
246251 < gl-button
247252 appearance ="toolbar "
248253 href ="command:gitlens.gk.switchOrganization "
249- tooltip ="Switch Organization "
250- aria-label =" Switch Organization "
254+ aria-label ="Switch Active Organization "
255+ > < span class =" org__badge " > + ${ this . _state . organizationsCount ! - 1 } </ span
251256 > < code-icon icon ="arrow-swap "> </ code-icon
252- > </ gl-button >
257+ > < span slot ="tooltip "
258+ > Switch Active Organization
259+ < hr />
260+ You are in
261+ ${ pluralize ( 'organization' , this . _state . organizationsCount ! - 1 , {
262+ infix : ' other ' ,
263+ } ) } </ span
264+ > </ gl-button
265+ >
253266 </ div > ` ,
254267 ) }
255268 </ div >
0 commit comments