projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2860e62
)
Add a message if the user don't have any subscriptions
author
Chocobozzz
<me@florianbigard.com>
Thu, 20 Sep 2018 14:02:59 +0000
(16:02 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 20 Sep 2018 14:24:59 +0000
(16:24 +0200)
client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html
patch
|
blob
|
history
client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss
patch
|
blob
|
history
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 2d76990f72493e0150c911e00b5584cd0761983b..fc23053c8ec8fc1d94899474a05ae15061221aa0 100644
(file)
--- 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
@@
+<div class="no-results" i18n *ngIf="pagination.totalItems === 0">You don't have any subscriptions yet.</div>
+
<div class="video-channels" myInfiniteScroller [autoInit]="true" (nearOfBottom)="onNearOfBottom()">
<div *ngFor="let videoChannel of videoChannels" class="video-channel">
<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 700d516d57067e144c18473c473f4eaf9a251c41..7ac3c910f9ce7c9aa0bb9b11ced515e2ea920872 100644
(file)
--- 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
@@
.actor-owner {
@include actor-owner;
+
+ margin-top: 0;
}
}