]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-library/my-videos/modals/video-change-ownership.component.html
Merge remote-tracking branch 'weblate/develop' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-videos / modals / video-change-ownership.component.html
CommitLineData
74d63469
GR
1<ng-template #modal let-close="close" let-dismiss="dismiss">
2 <div class="modal-header">
3 <h4 i18n class="modal-title">Change ownership</h4>
457bb213
C
4
5 <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon>
74d63469
GR
6 </div>
7
8 <div class="modal-body" [formGroup]="form">
9 <div class="form-group">
10 <label i18n for="next-ownership-username">Select the next owner</label>
11 <p-autoComplete formControlName="username" [suggestions]="usernamePropositions"
12 (completeMethod)="search($event)" id="next-ownership-username"></p-autoComplete>
13 <div *ngIf="formErrors.username" class="form-error">
14 {{ formErrors.username }}
15 </div>
16 </div>
17 </div>
18
d846d99c 19 <div class="modal-footer">
74d63469 20 <div class="form-group inputs">
a6d5ff76 21 <input
266947e5 22 type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
a6d5ff76
RK
23 (click)="dismiss()" (key.enter)="dismiss()"
24 >
74d63469
GR
25
26 <input
266947e5
C
27 type="submit" i18n-value value="Submit" class="peertube-button orange-button"
28 [disabled]="!form.valid" (click)="close()"
74d63469
GR
29 />
30 </div>
31 </div>
32</ng-template>