diff options
author | Chocobozzz <me@florianbigard.com> | 2018-04-17 10:35:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-04-17 10:35:08 +0200 |
commit | cc1561f9f7b33d739d66b23bacae23ea49f2fa12 (patch) | |
tree | 4ba9e905eaff4c80e9412b1ccf344c81c8c41ea8 /client/src/app/shared/video/video-feed.component.html | |
parent | e6f627975bebd00d396d11442e582d80856bc6bd (diff) | |
download | PeerTube-cc1561f9f7b33d739d66b23bacae23ea49f2fa12.tar.gz PeerTube-cc1561f9f7b33d739d66b23bacae23ea49f2fa12.tar.zst PeerTube-cc1561f9f7b33d739d66b23bacae23ea49f2fa12.zip |
Simplify client syndications
Diffstat (limited to 'client/src/app/shared/video/video-feed.component.html')
-rw-r--r-- | client/src/app/shared/video/video-feed.component.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/client/src/app/shared/video/video-feed.component.html b/client/src/app/shared/video/video-feed.component.html index 7733ef221..5ef13e1ed 100644 --- a/client/src/app/shared/video/video-feed.component.html +++ b/client/src/app/shared/video/video-feed.component.html | |||
@@ -1,14 +1,13 @@ | |||
1 | <div class="video-feed"> | 1 | <div class="video-feed"> |
2 | <span *ngIf="(syndicationItems | myObjectLength) >= 1" class="icon icon-syndication" | 2 | <span *ngIf="syndicationItems.length !== 0" class="icon icon-syndication" |
3 | [popover]="feedsList" | 3 | [popover]="feedsList" |
4 | placement="bottom" | 4 | placement="bottom" |
5 | [outsideClick]="true"> | 5 | [outsideClick]="true"> |
6 | </span> | 6 | </span> |
7 | 7 | ||
8 | <ng-template #feedsList> | 8 | <ng-template #feedsList> |
9 | <div *ngFor="let key of syndicationItems | keys"> | 9 | <div *ngFor="let item of syndicationItems"> |
10 | <a [href]="syndicationItems[key]">{{ key }}</a> | 10 | <a [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a> |
11 | </div> | 11 | </div> |
12 | </ng-template> | 12 | </ng-template> |
13 | </div> | 13 | </div> \ No newline at end of file |
14 | \ No newline at end of file | ||