diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-01-08 00:46:38 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-01-10 10:12:09 +0100 |
commit | b061c8edb053d4a7a02f09d93d406f6a8c58006e (patch) | |
tree | fdc2e4fcffd1f61c51921af9a8fa1fa4fb79ce79 /client/src/app/shared/user-subscription/subscribe-button.component.ts | |
parent | 41eb700fceee1085dd0e1a9ce78ecbd0e111eb6e (diff) | |
download | PeerTube-b061c8edb053d4a7a02f09d93d406f6a8c58006e.tar.gz PeerTube-b061c8edb053d4a7a02f09d93d406f6a8c58006e.tar.zst PeerTube-b061c8edb053d4a7a02f09d93d406f6a8c58006e.zip |
Add extra text to button when partially subscribed to all channels
Diffstat (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.ts')
-rw-r--r-- | client/src/app/shared/user-subscription/subscribe-button.component.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/shared/user-subscription/subscribe-button.component.ts b/client/src/app/shared/user-subscription/subscribe-button.component.ts index 0c1f71c6c..f0bee9d47 100644 --- a/client/src/app/shared/user-subscription/subscribe-button.component.ts +++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts | |||
@@ -15,6 +15,12 @@ import { forkJoin } from 'rxjs' | |||
15 | styleUrls: [ './subscribe-button.component.scss' ] | 15 | styleUrls: [ './subscribe-button.component.scss' ] |
16 | }) | 16 | }) |
17 | export class SubscribeButtonComponent implements OnInit { | 17 | export class SubscribeButtonComponent implements OnInit { |
18 | /** | ||
19 | * SubscribeButtonComponent can be used with a single VideoChannel passed as [VideoChannel], | ||
20 | * or with an account and a full list of that account's videoChannels. The latter is intended | ||
21 | * to allow mass un/subscription from an account's page, while keeping the channel-centric | ||
22 | * subscription model. | ||
23 | */ | ||
18 | @Input() account: Account | 24 | @Input() account: Account |
19 | @Input() videoChannels: VideoChannel[] | 25 | @Input() videoChannels: VideoChannel[] |
20 | @Input() displayFollowers = false | 26 | @Input() displayFollowers = false |