mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Adds the token name to the Profile link in the top nav (#20539)
This commit is contained in:
3
.changelog/20539.txt
Normal file
3
.changelog/20539.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
ui: Added token.name information to the top nav for ease of operator debugging
|
||||
```
|
||||
@@ -7,9 +7,8 @@
|
||||
<Hds::Dropdown @color="secondary" class="profile-dropdown"
|
||||
{{keyboard-shortcut menuLevel=true pattern=(array "g" "p") }}
|
||||
as |dd|>
|
||||
<dd.ToggleIcon @color="secondary" @icon="user-circle" @text="user menu" @size="small" data-test-header-profile-dropdown />
|
||||
<dd.Title @text="Signed In" />
|
||||
<dd.Description @text={{this.token.selfToken.name}} />
|
||||
<dd.ToggleButton @color="secondary" @icon="user-circle" @text={{this.token.selfToken.name}} @size="small" data-test-header-profile-dropdown />
|
||||
<dd.Description @text="Signed In" />
|
||||
<dd.Separator />
|
||||
<dd.Interactive @route="settings.tokens" @text="Profile" data-test-profile-dropdown-profile-link />
|
||||
<dd.Interactive {{on "click" this.signOut}} @text="Sign Out" @color="critical" data-test-profile-dropdown-sign-out-link />
|
||||
|
||||
Reference in New Issue
Block a user