Add a hint to fill chapters in the description

This commit is contained in:
Chocobozzz 2024-08-12 17:02:22 +02:00
parent 66b2d7d0f5
commit 8e0144a089
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 6 additions and 0 deletions

View File

@ -239,6 +239,12 @@
<ng-template ngbNavContent>
<div class="row mb-5">
<div class="chapters col-md-12 col-xl-6" formArrayName="chapters">
<div i18n class="alert pt-alert-primary">
Chapters can also be set in the video description.
Check the format <a href="https://docs.joinpeertube.org/use/create-upload-video#chapters" target="_blank">in the PeerTube documentation</a>
</div>
<ng-container *ngFor="let chapterControl of getChaptersFormArray().controls; let i = index">
<div class="chapter" [formGroupName]="i">
<!-- Row 1 -->