diff options
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 | 6 |
1 files changed, 5 insertions, 1 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 45ba555af..4608e93e7 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 | |||
@@ -18,6 +18,10 @@ | |||
18 | 18 | ||
19 | <div class="modal-body"> | 19 | <div class="modal-body"> |
20 | <div class="form-group"> | 20 | <div class="form-group"> |
21 | <div class="alert alert-warning" *ngIf="isConfidentialVideo()" i18n> | ||
22 | The following link contains a private token and should not be shared with anyone. | ||
23 | </div> | ||
24 | |||
21 | <div class="input-group input-group-sm"> | 25 | <div class="input-group input-group-sm"> |
22 | <div class="input-group-prepend peertube-select-container"> | 26 | <div class="input-group-prepend peertube-select-container"> |
23 | <select *ngIf="type === 'video'" [(ngModel)]="resolutionId" (ngModelChange)="onResolutionIdChange()"> | 27 | <select *ngIf="type === 'video'" [(ngModel)]="resolutionId" (ngModelChange)="onResolutionIdChange()"> |
@@ -30,7 +34,7 @@ | |||
30 | </div> | 34 | </div> |
31 | 35 | ||
32 | <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()" /> |
33 | <div class="input-group-append"> | 37 | <div class="input-group-append" *ngIf="!isConfidentialVideo()"> |
34 | <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"> |
35 | <span class="glyphicon glyphicon-copy"></span> | 39 | <span class="glyphicon glyphicon-copy"></span> |
36 | </button> | 40 | </button> |