diff options
author | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:51:31 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-06-10 15:51:47 +0200 |
commit | b15fcd49bff880a8246cb48292af3ae8d66f0699 (patch) | |
tree | 48808c5bc0491a7c8f11fda3bad24f0d951221ff /client/src/app/shared/shared-video-miniature/video-download.component.html | |
parent | 073367bb651776648792046895b73c2f37e9f532 (diff) | |
download | PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.gz PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.tar.zst PeerTube-b15fcd49bff880a8246cb48292af3ae8d66f0699.zip |
Prefer global icon instead of glyphicon for copy
Diffstat (limited to 'client/src/app/shared/shared-video-miniature/video-download.component.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-download.component.html | 28 |
1 files changed, 8 insertions, 20 deletions
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 9123d2a5a..bf971229e 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 | |||
@@ -28,16 +28,10 @@ | |||
28 | 28 | ||
29 | <ng-template ngbNavContent> | 29 | <ng-template ngbNavContent> |
30 | <div class="nav-content"> | 30 | <div class="nav-content"> |
31 | <div class="input-group"> | 31 | <my-input-toggle-hidden |
32 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="getLink()" /> | 32 | *ngIf="!isConfidentialVideo()" |
33 | 33 | [show]="true" [readonly]="true" [withCopy]="true" [withToggle]="false" [value]="getLink()" | |
34 | <button | 34 | ></my-input-toggle-hidden> |
35 | *ngIf="!isConfidentialVideo()" type="button" class="btn btn-outline-secondary" | ||
36 | [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" | ||
37 | > | ||
38 | <span class="glyphicon glyphicon-duplicate"></span> | ||
39 | </button> | ||
40 | </div> | ||
41 | </div> | 35 | </div> |
42 | </ng-template> | 36 | </ng-template> |
43 | </ng-container> | 37 | </ng-container> |
@@ -54,16 +48,10 @@ | |||
54 | 48 | ||
55 | <ng-template ngbNavContent> | 49 | <ng-template ngbNavContent> |
56 | <div class="nav-content"> | 50 | <div class="nav-content"> |
57 | <div class="input-group"> | 51 | <my-input-toggle-hidden |
58 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control readonly" readonly [value]="getLink()" /> | 52 | *ngIf="!isConfidentialVideo()" |
59 | 53 | [show]="true" [readonly]="true" [withCopy]="true" [withToggle]="false" [value]="getLink()" | |
60 | <button | 54 | ></my-input-toggle-hidden> |
61 | *ngIf="!isConfidentialVideo()" type="button" class="btn btn-outline-secondary" | ||
62 | [cdkCopyToClipboard]="urlInput.value" (click)="activateCopiedMessage()" | ||
63 | > | ||
64 | <span class="glyphicon glyphicon-duplicate"></span> | ||
65 | </button> | ||
66 | </div> | ||
67 | </div> | 55 | </div> |
68 | </ng-template> | 56 | </ng-template> |
69 | </ng-container> | 57 | </ng-container> |