From: Rigel Kent Date: Tue, 7 Jan 2020 22:51:14 +0000 (+0100) Subject: Refactor my-subscribe-button to support full account subscription X-Git-Tag: v2.1.0-rc.1~50 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=41eb700fceee1085dd0e1a9ce78ecbd0e111eb6e;p=oweals%2Fpeertube.git Refactor my-subscribe-button to support full account subscription --- diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html index 4ebad514c..93f43a350 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html @@ -9,14 +9,18 @@ Avatar
{{ videoChannel.displayName }}
-
{{ videoChannel.followersCount }} subscribers
+
{{ videoChannel.followersCount }} + + subscriber + subscribers +
- +
-
This channel does not have videos.
+
This channel doesn't have any videos.
-
{{ account.followersCount }} subscribers
+
+ {{ account.followersCount }} + + subscriber + subscribers +
+ + - + diff --git a/client/src/app/+video-channels/video-channels.component.html b/client/src/app/+video-channels/video-channels.component.html index f8b7fa583..f4b944c59 100644 --- a/client/src/app/+video-channels/video-channels.component.html +++ b/client/src/app/+video-channels/video-channels.component.html @@ -15,7 +15,7 @@ - +
{{ videoChannel.followersCount }} subscribers
diff --git a/client/src/app/search/search.component.html b/client/src/app/search/search.component.html index 055f64cc8..496ee970a 100644 --- a/client/src/app/search/search.component.html +++ b/client/src/app/search/search.component.html @@ -44,7 +44,7 @@
{{ result.followersCount }} subscribers
- +
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.html b/client/src/app/shared/user-subscription/subscribe-button.component.html index 25f3be215..a119beff6 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.html +++ b/client/src/app/shared/user-subscription/subscribe-button.component.html @@ -1,34 +1,46 @@
- + + + + + + + - + +
- +