diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-09 14:55:06 +0200 |
commit | 63347a0ff966c7863e5b7431effa1cb0668df893 (patch) | |
tree | 8f89d9b4a73f7157103574c05832eff21e338272 /client/src/app/shared/video | |
parent | b34a444e291c8ec90b4c2c965f7d0d6904d1faa7 (diff) | |
download | PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.gz PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.tar.zst PeerTube-63347a0ff966c7863e5b7431effa1cb0668df893.zip |
Migrate to bootstrap 4 and ng-bootstrap
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r-- | client/src/app/shared/video/video-feed.component.html | 13 | ||||
-rw-r--r-- | client/src/app/shared/video/video-feed.component.scss | 1 |
2 files changed, 6 insertions, 8 deletions
diff --git a/client/src/app/shared/video/video-feed.component.html b/client/src/app/shared/video/video-feed.component.html index 5ef13e1ed..2e687a7b9 100644 --- a/client/src/app/shared/video/video-feed.component.html +++ b/client/src/app/shared/video/video-feed.component.html | |||
@@ -1,13 +1,10 @@ | |||
1 | <div class="video-feed"> | 1 | <div class="video-feed"> |
2 | <span *ngIf="syndicationItems.length !== 0" class="icon icon-syndication" | 2 | <span |
3 | [popover]="feedsList" | 3 | *ngIf="syndicationItems.length !== 0" [ngbPopover]="feedsList" placement="bottom" |
4 | placement="bottom" | 4 | class="icon icon-syndication" role="button" |
5 | [outsideClick]="true"> | 5 | ></span> |
6 | </span> | ||
7 | 6 | ||
8 | <ng-template #feedsList> | 7 | <ng-template #feedsList> |
9 | <div *ngFor="let item of syndicationItems"> | 8 | <a *ngFor="let item of syndicationItems" [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a> |
10 | <a [href]="item.url" target="_blank" rel="noopener noreferrer">{{ item.label }}</a> | ||
11 | </div> | ||
12 | </ng-template> | 9 | </ng-template> |
13 | </div> \ No newline at end of file | 10 | </div> \ No newline at end of file |
diff --git a/client/src/app/shared/video/video-feed.component.scss b/client/src/app/shared/video/video-feed.component.scss index 2efeb405e..a5d1aabf7 100644 --- a/client/src/app/shared/video/video-feed.component.scss +++ b/client/src/app/shared/video/video-feed.component.scss | |||
@@ -5,6 +5,7 @@ | |||
5 | @include disable-default-a-behaviour; | 5 | @include disable-default-a-behaviour; |
6 | 6 | ||
7 | color: black; | 7 | color: black; |
8 | display: block; | ||
8 | } | 9 | } |
9 | 10 | ||
10 | .icon { | 11 | .icon { |