diff options
author | Jorropo <jorropo.pgm@gmail.com> | 2018-09-04 11:01:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-09-04 11:01:54 +0200 |
commit | b0c36821d1dcf362f14c99ca3741e7d03aea0a04 (patch) | |
tree | ba2e84ae6f1559f9e3027feab0422e2bf5ad04a8 /client/src/app/videos/+video-edit | |
parent | 5cf84858d49f4231cc4efec5e3132f17f65f6cf6 (diff) | |
download | PeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.tar.gz PeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.tar.zst PeerTube-b0c36821d1dcf362f14c99ca3741e7d03aea0a04.zip |
Add video recomandation by tags (#1001)
* Recommendation by tags (thx bradsk88)
Thx bradsk88 for the help.
* Prefer jest-preset-angular to skip need for babel config
* Fix jest
Diffstat (limited to 'client/src/app/videos/+video-edit')
-rw-r--r-- | client/src/app/videos/+video-edit/shared/video-edit.component.html | 5 |
1 files changed, 3 insertions, 2 deletions
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 26c9e977e..69f306519 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 | |||
@@ -14,7 +14,8 @@ | |||
14 | </div> | 14 | </div> |
15 | 15 | ||
16 | <div class="form-group"> | 16 | <div class="form-group"> |
17 | <label i18n class="label-tags">Tags</label> <span i18n>(press Enter to add)</span> | 17 | <label i18n class="label-tags">Tags</label> |
18 | <my-help i18n-preHtml preHtml="Tags could be used to suggest relevant recommendations.</br>Press Enter to add a new tag."></my-help> | ||
18 | <tag-input | 19 | <tag-input |
19 | [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" | 20 | [validators]="tagValidators" [errorMessages]="tagValidatorsMessages" |
20 | formControlName="tags" maxItems="5" modelAsStrings="true" | 21 | formControlName="tags" maxItems="5" modelAsStrings="true" |
@@ -223,4 +224,4 @@ | |||
223 | 224 | ||
224 | <my-video-caption-add-modal | 225 | <my-video-caption-add-modal |
225 | #videoCaptionAddModal [existingCaptions]="existingCaptions" (captionAdded)="onCaptionAdded($event)" | 226 | #videoCaptionAddModal [existingCaptions]="existingCaptions" (captionAdded)="onCaptionAdded($event)" |
226 | ></my-video-caption-add-modal> \ No newline at end of file | 227 | ></my-video-caption-add-modal> |