aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-20 16:02:59 +0200
committerChocobozzz <me@florianbigard.com>2018-09-20 16:24:59 +0200
commita89368105879d2468a2d474367a68d5c1be99089 (patch)
tree4992fa8f0cc242f3f59b0c7fd88bb3585a017e16 /client/src
parent2860e62e236bb74102fe22f91a300dfeb9a06f40 (diff)
downloadPeerTube-a89368105879d2468a2d474367a68d5c1be99089.tar.gz
PeerTube-a89368105879d2468a2d474367a68d5c1be99089.tar.zst
PeerTube-a89368105879d2468a2d474367a68d5c1be99089.zip
Add a message if the user don't have any subscriptions
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html2
-rw-r--r--client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss2
2 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
index 2d76990f7..fc23053c8 100644
--- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
+++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
@@ -1,3 +1,5 @@
1<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
2
1<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()"> 3<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()">
2 <div *ngFor="let videoChannel of videoChannels" class="video-channel"> 4 <div *ngFor="let videoChannel of videoChannels" class="video-channel">
3 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]"> 5 <a [routerLink]="[ '/video-channels', videoChannel.nameWithHost ]">
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss
index 700d516d5..7ac3c910f 100644
--- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss
+++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss
@@ -36,6 +36,8 @@
36 36
37 .actor-owner { 37 .actor-owner {
38 @include actor-owner; 38 @include actor-owner;
39
40 margin-top: 0;
39 } 41 }
40} 42}
41 43