From 3bacca85b1baf3a7a84941cc80d79815aff36dff Mon Sep 17 00:00:00 2001 From: Noelle Daley Date: Thu, 17 Jan 2019 11:24:49 -0800 Subject: [PATCH] add link to copy current token from user status bar (#6063) --- ui/app/templates/components/auth-info.hbs | 20 ++++++++++++++++++++ ui/app/templates/components/status-menu.hbs | 6 +----- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/ui/app/templates/components/auth-info.hbs b/ui/app/templates/components/auth-info.hbs index 176bd239b..bd7c1b2e9 100644 --- a/ui/app/templates/components/auth-info.hbs +++ b/ui/app/templates/components/auth-info.hbs @@ -34,6 +34,16 @@ Revoke token {{/confirm-action}} +
  • + + Copy token + +
  • {{else}}
  • {{#confirm-action @@ -50,6 +60,16 @@ Revoke token {{/confirm-action}}
  • +
  • + + Copy token + +
  • {{/if}} {{/if}}
  • diff --git a/ui/app/templates/components/status-menu.hbs b/ui/app/templates/components/status-menu.hbs index 2efca7a9b..a0fa73076 100644 --- a/ui/app/templates/components/status-menu.hbs +++ b/ui/app/templates/components/status-menu.hbs @@ -1,10 +1,6 @@ {{#basic-dropdown-hover horizontalPosition="auto-left" verticalPosition="below" renderInPlace=media.isMobile as |d|}} {{#d.trigger tagName=(if (eq type "replication") "span" "button") class=(if (eq type "replication") "" "button is-transparent")}} - {{i-con - glyph=glyphName - size=24 - aria-label=ariaLabel - }} +
    {{label}}