Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add auto tag policies hint

Chocobozzz049d12c274c6
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.html b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
index 21be684671..f9d3106a00 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.html
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.html
@@ -420,7 +420,7 @@
<div class="form-group originally-published-at">
<div class="label-container">
- <label i18n for="originallyPublishedAt">Original publication date</label>
+ <label i18n class="mb-0" for="originallyPublishedAt">Original publication date</label>
<button i18n class="reset-button reset-button-small" (click)="resetField('originallyPublishedAt')" *ngIf="hasPublicationDate()">
Reset
@@ -443,7 +443,12 @@
</div>
<div class="form-group mb-4">
- <label i18n for="commentsPolicy">Comments policy</label>
+ <label i18n class="mb-0" for="commentsPolicy">Comments policy</label>
+
+ <div class="form-group-description" i18n>
+ You can require comments to be approved depending on <a routerLink="/my-account/auto-tag-policies" target="_blank">your auto-tags policies</a>
+ </div>
+
<my-select-options inputId="commentsPolicy" [items]="commentPolicies" formControlName="commentsPolicy"></my-select-options>
<div *ngIf="formErrors.commentsPolicy" class="form-error" role="alert">
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
index b530c54ff5..035978cd8b 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
@@ -81,6 +81,7 @@ import { VideoCaptionEditModalContentComponent } from './caption/video-caption-e
import { I18nPrimengCalendarService } from './i18n-primeng-calendar.service'
import { ThumbnailManagerComponent } from './thumbnail-manager/thumbnail-manager.component'
import { VideoEditType } from './video-edit.type'
+import { RouterLink } from '@angular/router'
type PluginField = {
pluginInfo: PluginInfo
@@ -94,6 +95,7 @@ type PluginField = {
templateUrl: './video-edit.component.html',
standalone: true,
imports: [
+ RouterLink,
FormsModule,
ReactiveFormsModule,
NgbNav,