From 39ba2e8e3a71961cd0087c57d25905f6a97a6b69 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Sep 2018 09:39:41 +0200 Subject: Add RSS feed to subscribe button --- .../remote-subscribe.component.html | 11 ++++--- .../remote-subscribe.component.scss | 1 + .../subscribe-button.component.html | 17 ++++++++--- .../subscribe-button.component.scss | 35 ++++++++++++++++++---- .../subscribe-button.component.ts | 11 +++++-- client/src/app/shared/video/video.service.ts | 5 +++- 6 files changed, 62 insertions(+), 18 deletions(-) (limited to 'client') diff --git a/client/src/app/shared/user-subscription/remote-subscribe.component.html b/client/src/app/shared/user-subscription/remote-subscribe.component.html index 3762142f2..ec3636b3e 100644 --- a/client/src/app/shared/user-subscription/remote-subscribe.component.html +++ b/client/src/app/shared/user-subscription/remote-subscribe.component.html @@ -1,5 +1,4 @@ -
+
- + + diff --git a/client/src/app/shared/user-subscription/remote-subscribe.component.scss b/client/src/app/shared/user-subscription/remote-subscribe.component.scss index e49271079..698c5866a 100644 --- a/client/src/app/shared/user-subscription/remote-subscribe.component.scss +++ b/client/src/app/shared/user-subscription/remote-subscribe.component.scss @@ -1,5 +1,6 @@ @import '_mixins'; .btn-remote-follow { + @include peertube-button; @include orange-button; } \ No newline at end of file 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 b62fb7dfa..2c8481c96 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.html +++ b/client/src/app/shared/user-subscription/subscribe-button.component.html @@ -10,11 +10,16 @@ {{ videoChannel.followersCount | myNumberFormatter }} - -
+ Unsubscribe + + +
+