projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add video recomandation by tags (#1001)
[oweals/peertube.git]
/
client
/
src
/
app
/
shared
/
video
/
video-feed.component.html
diff --git
a/client/src/app/shared/video/video-feed.component.html
b/client/src/app/shared/video/video-feed.component.html
index 7733ef221c244b5f36a67d52abda07b4240d4040..16116ba88aa15b29046a79806c731c5dbb6aa1a5 100644
(file)
--- a/
client/src/app/shared/video/video-feed.component.html
+++ b/
client/src/app/shared/video/video-feed.component.html
@@
-1,14
+1,10
@@
<div class="video-feed">
<div class="video-feed">
- <span *ngIf="(syndicationItems | myObjectLength) >= 1" class="icon icon-syndication"
- [popover]="feedsList"
- placement="bottom"
- [outsideClick]="true">
- </span>
+ <span
+ *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
+ class="icon icon-syndication" role="button"
+ ></span>
<ng-template #feedsList>
<ng-template #feedsList>
- <div *ngFor="let key of syndicationItems | keys">
- <a [href]="syndicationItems[key]">{{ key }}</a>
- </div>
+ <a *ngFor="let item of syndicationItems" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a>
</ng-template>
</ng-template>
-</div>
-
\ No newline at end of file
+</div>
\ No newline at end of file