aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts
diff options
context:
space:
mode:
authorNassim Bounouas <NassimBounouas@users.noreply.github.com>2019-06-19 14:57:39 +0200
committerChocobozzz <me@florianbigard.com>2019-06-19 14:57:39 +0200
commite379f813d45c4a83442aa13268d351e2605a7a01 (patch)
treec912ae77b981574c2e859bc5740ca2180f61f9b6 /client/src/app/+accounts
parentb6a1dd4d1b3b0032f8b968e72cbd074f646e8827 (diff)
downloadPeerTube-e379f813d45c4a83442aa13268d351e2605a7a01.tar.gz
PeerTube-e379f813d45c4a83442aa13268d351e2605a7a01.tar.zst
PeerTube-e379f813d45c4a83442aa13268d351e2605a7a01.zip
Feature/completeUsernameCopy (#1913)
* #1843 Copy icon added to account page to copy Username * #1843 Store an account name with the host forced and bind it to copy button * #1843 tslint correction * #1843 copy to clipboard replaced by ngx-clipboard
Diffstat (limited to 'client/src/app/+accounts')
-rw-r--r--client/src/app/+accounts/accounts.component.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+accounts/accounts.component.html b/client/src/app/+accounts/accounts.component.html
index 038e18c4b..1172f7ba7 100644
--- a/client/src/app/+accounts/accounts.component.html
+++ b/client/src/app/+accounts/accounts.component.html
@@ -7,8 +7,11 @@
7 <div class="actor-info"> 7 <div class="actor-info">
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 }}</div> 10 <div class="actor-name">{{ account.nameWithHost }}
11 11 <button ngxClipboard [cbContent]="account.nameWithHostForced" type="button" class="btn btn-outline-secondary btn-sm">
12 <span class="glyphicon glyphicon-copy"></span>
13 </button>
14 </div>
12 <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span> 15 <span *ngIf="user?.blocked" [ngbTooltip]="user.blockedReason" class="badge badge-danger" i18n>Banned</span>
13 <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span> 16 <span *ngIf="account.mutedByUser" class="badge badge-danger" i18n>Muted</span>
14 <span *ngIf="account.mutedServerByUser" class="badge badge-danger" i18n>Muted by your instance</span> 17 <span *ngIf="account.mutedServerByUser" class="badge badge-danger" i18n>Muted by your instance</span>