diff options
Diffstat (limited to 'client/src/app/+videos/+video-watch/video-watch.component.html')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.html | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.html b/client/src/app/+videos/+video-watch/video-watch.component.html index fb6d08167..2588b9af5 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.html +++ b/client/src/app/+videos/+video-watch/video-watch.component.html | |||
@@ -108,10 +108,23 @@ | |||
108 | </div> | 108 | </div> |
109 | </div> | 109 | </div> |
110 | 110 | ||
111 | <my-video-actions-dropdown | 111 | <ng-container *ngIf="!isUserLoggedIn()"> |
112 | placement="bottom auto" buttonDirection="horizontal" [buttonStyled]="true" [video]="video" [videoCaptions]="videoCaptions" | 112 | <button |
113 | (videoRemoved)="onVideoRemoved()" (modalOpened)="onModalOpened()" | 113 | *ngIf="isVideoDownloadable()" class="action-button action-button-save" |
114 | ></my-video-actions-dropdown> | 114 | (click)="showDownloadModal()" (keydown.enter)="showDownloadModal()" |
115 | > | ||
116 | <my-global-icon iconName="download" aria-hidden="true"></my-global-icon> | ||
117 | <span class="icon-text d-none d-sm-inline" i18n>DOWNLOAD</span> | ||
118 | </button> | ||
119 | |||
120 | <my-video-download #videoDownloadModal></my-video-download> | ||
121 | </ng-container> | ||
122 | <ng-container *ngIf="isUserLoggedIn()"> | ||
123 | <my-video-actions-dropdown | ||
124 | placement="bottom auto" buttonDirection="horizontal" [buttonStyled]="true" [video]="video" [videoCaptions]="videoCaptions" | ||
125 | (videoRemoved)="onVideoRemoved()" (modalOpened)="onModalOpened()" | ||
126 | ></my-video-actions-dropdown> | ||
127 | </ng-container> | ||
115 | </div> | 128 | </div> |
116 | 129 | ||
117 | <div class="video-info-likes-dislikes-bar-outer-container"> | 130 | <div class="video-info-likes-dislikes-bar-outer-container"> |