- <tab *ngIf="isVideoImportEnabled()" i18n-heading heading="Import with URL">
- <my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)"></my-video-import-url>
- </tab>
- </tabset>
+ <ngb-tab *ngIf="isVideoImportHttpEnabled()">
+ <ng-template ngbTabTitle><span i18n>Import with URL</span></ng-template>
+ <ng-template ngbTabContent>
+ <my-video-import-url #videoImportUrl (firstStepDone)="onFirstStepDone('import-url', $event)" (firstStepError)="onError()"></my-video-import-url>
+ </ng-template>
+ </ngb-tab>
+
+ <ngb-tab *ngIf="isVideoImportTorrentEnabled()">
+ <ng-template ngbTabTitle><span i18n>Import with torrent</span></ng-template>
+ <ng-template ngbTabContent>
+ <my-video-import-torrent #videoImportTorrent (firstStepDone)="onFirstStepDone('import-torrent', $event)" (firstStepError)="onError()"></my-video-import-torrent>
+ </ng-template>
+ </ngb-tab>
+ </ngb-tabset>