diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-17 16:02:38 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-06-25 14:44:01 +0200 |
commit | 37a44fc915eef2140e22ceb96aba6b6eb2509007 (patch) | |
tree | dd4a370ecc96cf38c99b940261aadc27065da7ae /client/src/app/+search/search.component.html | |
parent | 33eb19e5199cc9fa4d73c6675c97508e3e072ef9 (diff) | |
download | PeerTube-37a44fc915eef2140e22ceb96aba6b6eb2509007.tar.gz PeerTube-37a44fc915eef2140e22ceb96aba6b6eb2509007.tar.zst PeerTube-37a44fc915eef2140e22ceb96aba6b6eb2509007.zip |
Add ability to search playlists
Diffstat (limited to 'client/src/app/+search/search.component.html')
-rw-r--r-- | client/src/app/+search/search.component.html | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/+search/search.component.html b/client/src/app/+search/search.component.html index 130be75fc..b28abca6a 100644 --- a/client/src/app/+search/search.component.html +++ b/client/src/app/+search/search.component.html | |||
@@ -59,10 +59,17 @@ | |||
59 | <div *ngIf="isVideo(result)" class="entry video"> | 59 | <div *ngIf="isVideo(result)" class="entry video"> |
60 | <my-video-miniature | 60 | <my-video-miniature |
61 | [video]="result" [user]="userMiniature" [displayAsRow]="true" [displayVideoActions]="!hideActions()" | 61 | [video]="result" [user]="userMiniature" [displayAsRow]="true" [displayVideoActions]="!hideActions()" |
62 | [displayOptions]="videoDisplayOptions" [videoLinkType]="getVideoLinkType()" | 62 | [displayOptions]="videoDisplayOptions" [videoLinkType]="getLinkType()" |
63 | (videoBlocked)="removeVideoFromArray(result)" (videoRemoved)="removeVideoFromArray(result)" | 63 | (videoBlocked)="removeVideoFromArray(result)" (videoRemoved)="removeVideoFromArray(result)" |
64 | ></my-video-miniature> | 64 | ></my-video-miniature> |
65 | </div> | 65 | </div> |
66 | |||
67 | <div *ngIf="isPlaylist(result)" class="entry video-playlist"> | ||
68 | <my-video-playlist-miniature | ||
69 | [playlist]="result" [displayAsRow]="true" [displayChannel]="true" | ||
70 | [linkType]="getLinkType()" | ||
71 | ></my-video-playlist-miniature> | ||
72 | </div> | ||
66 | </ng-container> | 73 | </ng-container> |
67 | 74 | ||
68 | </div> | 75 | </div> |