Reorganize client shared modules
[oweals/peertube.git] / client / src / app / shared / shared-main / feeds / feed.component.html
diff --git a/client/src/app/shared/shared-main/feeds/feed.component.html b/client/src/app/shared/shared-main/feeds/feed.component.html
new file mode 100644 (file)
index 0000000..ac0b1f4
--- /dev/null
@@ -0,0 +1,15 @@
+<div class="video-feed"
+  [ngbTooltip]="'Feeds available'"
+  placement="right auto"
+  container="body"
+>
+  <my-global-icon
+    *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" [autoClose]="true" placement="bottom"
+    class="icon-syndication" role="button" iconName="syndication"
+  >
+  </my-global-icon>
+
+  <ng-template #feedsList>
+    <a *ngFor="let item of syndicationItems" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a>
+  </ng-template>
+</div>