diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-19 15:14:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-19 15:14:13 +0200 |
commit | ee1d0dfb6d179d8742b6a3eb6ffce6a08fb16c9f (patch) | |
tree | 8a30a4b24018b3443c1f5c52a15d565189292b75 /client/src/app/+accounts/accounts.component.html | |
parent | ccfcdb6785111685d4385e345545b6f89520a9a0 (diff) | |
download | PeerTube-ee1d0dfb6d179d8742b6a3eb6ffce6a08fb16c9f.tar.gz PeerTube-ee1d0dfb6d179d8742b6a3eb6ffce6a08fb16c9f.tar.zst PeerTube-ee1d0dfb6d179d8742b6a3eb6ffce6a08fb16c9f.zip |
Improve account username copy button
Diffstat (limited to 'client/src/app/+accounts/accounts.component.html')
-rw-r--r-- | client/src/app/+accounts/accounts.component.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html index 1172f7ba7..0e9719dcf 100644 --- a/client/src/app/+accounts/accounts.component.html +++ b/client/src/app/+accounts/accounts.component.html | |||
@@ -8,9 +8,13 @@ | |||
8 | <div class="actor-names"> | 8 | <div class="actor-names"> |
9 | <div class="actor-display-name">{{ account.displayName }}</div> | 9 | <div class="actor-display-name">{{ account.displayName }}</div> |
10 | <div class="actor-name">{{ account.nameWithHost }} | 10 | <div class="actor-name">{{ account.nameWithHost }} |
11 | <button ngxClipboard [cbContent]="account.nameWithHostForced" type="button" class="btn btn-outline-secondary btn-sm"> | 11 | |
12 | <button ngxClipboard [cbContent]="account.nameWithHostForced" (click)="activateCopiedMessage()" | ||
13 | class="btn btn-outline-secondary btn-sm copy-button" | ||
14 | > | ||
12 | <span class="glyphicon glyphicon-copy"></span> | 15 | <span class="glyphicon glyphicon-copy"></span> |
13 | </button> | 16 | </button> |
17 | |||
14 | </div> | 18 | </div> |
15 | <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span> | 19 | <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span> |
16 | <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span> | 20 | <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span> |