diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-16 14:22:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 14:31:40 +0200 |
commit | f4001cf408a99049d01a356bfb20a62342de06ea (patch) | |
tree | 421776dfe64335dca2725ac3ac5f3b3e6b7564c6 /client/src/app/videos/+video-edit/shared/video-edit.component.html | |
parent | 16f7022b06fb76c0b00c23c970bc8df605b0ec63 (diff) | |
download | PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.tar.gz PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.tar.zst PeerTube-f4001cf408a99049d01a356bfb20a62342de06ea.zip |
Handle .srt subtitles
Diffstat (limited to 'client/src/app/videos/+video-edit/shared/video-edit.component.html')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/+video-edit/shared/video-edit.component.html b/client/src/app/videos/+video-edit/shared/video-edit.component.html index 14d5f3614..4675cb827 100644 --- a/client/src/app/videos/+video-edit/shared/video-edit.component.html +++ b/client/src/app/videos/+video-edit/shared/video-edit.component.html | |||
@@ -151,7 +151,7 @@ | |||
151 | 151 | ||
152 | <div class="form-group" *ngFor="let videoCaption of videoCaptions"> | 152 | <div class="form-group" *ngFor="let videoCaption of videoCaptions"> |
153 | 153 | ||
154 | <div class="caption-entry"> | 154 | <div *ngIf="videoCaption.action !== 'REMOVE'" class="caption-entry"> |
155 | <div class="caption-entry-label">{{ videoCaption.language.label }}</div> | 155 | <div class="caption-entry-label">{{ videoCaption.language.label }}</div> |
156 | 156 | ||
157 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span> | 157 | <span i18n class="caption-entry-delete" (click)="deleteCaption(videoCaption)">Delete</span> |
@@ -200,5 +200,5 @@ | |||
200 | </div> | 200 | </div> |
201 | 201 | ||
202 | <my-video-caption-add-modal | 202 | <my-video-caption-add-modal |
203 | #videoCaptionAddModal [existingCaptions]="getExistingCaptions()" (captionAdded)="onCaptionAdded($event)" | 203 | #videoCaptionAddModal [existingCaptions]="existingCaptions" (captionAdded)="onCaptionAdded($event)" |
204 | ></my-video-caption-add-modal> \ No newline at end of file | 204 | ></my-video-caption-add-modal> \ No newline at end of file |