diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2021-03-22 14:19:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-03-24 18:18:41 +0100 |
commit | 6b1ef956993ff294534281a35dd3b9ce5538a7b1 (patch) | |
tree | 196fd6dd204e7895fc9588e710484c4b0ddbabd1 /client/src/app/shared | |
parent | 97aeb3cc46c2e03c3187accd7c4561209be8be89 (diff) | |
download | PeerTube-6b1ef956993ff294534281a35dd3b9ce5538a7b1.tar.gz PeerTube-6b1ef956993ff294534281a35dd3b9ce5538a7b1.tar.zst PeerTube-6b1ef956993ff294534281a35dd3b9ce5538a7b1.zip |
Change copy icon (#3867)
* client: change copy icon to glypicon-duplicate
* client: add "copy" text to copy icons
Diffstat (limited to 'client/src/app/shared')
-rw-r--r-- | client/src/app/shared/shared-forms/input-toggle-hidden.component.html | 5 | ||||
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-download.component.html | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html index e7441e4c1..9f252f299 100644 --- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.html +++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.html | |||
@@ -12,9 +12,10 @@ | |||
12 | 12 | ||
13 | <button | 13 | <button |
14 | *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button" | 14 | *ngIf="withCopy" [cdkCopyToClipboard]="input.value" (click)="activateCopiedMessage()" type="button" |
15 | class="btn btn-outline-secondary" i18n-title title="Copy" | 15 | class="btn btn-outline-secondary text-uppercase" i18n-title title="Copy" |
16 | > | 16 | > |
17 | <span class="glyphicon glyphicon-copy"></span> | 17 | <span class="glyphicon glyphicon-duplicate"></span> |
18 | Copy | ||
18 | </button> | 19 | </button> |
19 | </div> | 20 | </div> |
20 | </div> | 21 | </div> |
diff --git a/client/src/app/shared/shared-video-miniature/video-download.component.html b/client/src/app/shared/shared-video-miniature/video-download.component.html index 4608e93e7..0e659fbe2 100644 --- a/client/src/app/shared/shared-video-miniature/video-download.component.html +++ b/client/src/app/shared/shared-video-miniature/video-download.component.html | |||
@@ -36,7 +36,7 @@ | |||
36 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" /> | 36 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" /> |
37 | <div class="input-group-append" *ngIf="!isConfidentialVideo()"> | 37 | <div class="input-group-append" *ngIf="!isConfidentialVideo()"> |
38 | <button [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary"> | 38 | <button [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" type="button" class="btn btn-outline-secondary"> |
39 | <span class="glyphicon glyphicon-copy"></span> | 39 | <span class="glyphicon glyphicon-duplicate"></span> |
40 | </button> | 40 | </button> |
41 | </div> | 41 | </div> |
42 | </div> | 42 | </div> |