</my-help>
<input type="text" id="targetUrl" [(ngModel)]="targetUrl" class="form-control" />
+
+ <div *ngIf="isChannelSyncEnabled()" class="form-group-description" i18n>
+ You can also synchronize a remote channel in <a routerLink="/my-library/video-channel-syncs">your library</a>
+ </div>
</div>
<div class="form-group">
{{ error }}
</div>
-<div *ngIf="!error && hasImportedVideo" class="alert alert-info" i18n>
+<div *ngIf="!error && hasImportedVideo" class="alert pt-alert-primary" i18n>
Congratulations, the video behind {{ targetUrl }} will be imported! You can already add information about this video.
</div>
<!-- Hidden because we want to load the component -->
<form [hidden]="!hasImportedVideo" novalidate [formGroup]="form">
<my-video-edit
- [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [schedulePublicationPossible]="false"
+ [form]="form" [formErrors]="formErrors" [videoCaptions]="videoCaptions" [forbidScheduledPublication]="true"
[validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
type="import-url"
></my-video-edit>
<div class="submit-container">
- <div class="submit-button"
- (click)="updateSecondStep()"
- [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }"
- >
- <my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon>
- <input type="button" i18n-value value="Update" />
- </div>
+ <my-button className="orange-button" i18n-label label="Update" icon="circle-tick"
+ (click)="updateSecondStep()"
+ [disabled]="!form.valid || isUpdatingVideo === true"
+ ></my-button>
</div>
</form>