2017-12-07 13:48:47 +00:00
|
|
|
<div class="margin-content">
|
2020-01-13 21:14:04 +00:00
|
|
|
<div class="title-page title-page-single">
|
|
|
|
<span class="mr-1" i18n>Update</span>
|
|
|
|
<a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a>
|
2017-12-07 13:48:47 +00:00
|
|
|
</div>
|
2016-06-04 18:37:38 +00:00
|
|
|
|
2017-04-21 16:26:09 +00:00
|
|
|
<form novalidate [formGroup]="form">
|
2017-03-22 20:15:55 +00:00
|
|
|
|
2017-12-07 10:15:19 +00:00
|
|
|
<my-video-edit
|
2018-06-15 14:52:15 +00:00
|
|
|
[form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
|
2019-06-07 12:50:27 +00:00
|
|
|
[validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
|
2018-12-11 13:52:50 +00:00
|
|
|
[videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled"
|
2017-12-07 10:15:19 +00:00
|
|
|
></my-video-edit>
|
2016-03-14 12:50:19 +00:00
|
|
|
|
2017-12-07 13:48:47 +00:00
|
|
|
<div class="submit-container">
|
2018-02-16 16:24:47 +00:00
|
|
|
<div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }">
|
2020-06-08 17:42:51 +00:00
|
|
|
<my-global-icon iconName="validate" aria-hidden="true"></my-global-icon>
|
2018-06-04 14:21:17 +00:00
|
|
|
<input type="button" i18n-value value="Update" />
|
2017-12-07 13:48:47 +00:00
|
|
|
</div>
|
2017-04-21 16:26:09 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|