Back to Peertube

Subscribe Button.Component

client/src/app/shared/shared-user-subscription/subscribe-button.component.html

8.1.5671 B
Original Source

@if (isSingleSubscribe) { Subscribe } @else { Subscribe to all channels @if (isAtLeastOneChannelSubscribed) { {{ subscribeStatus(true).length }}/{{ subscribed.size }} channels subscribed } } @if (isUserLoggedIn()) { @if (isAllChannelsSubscribed) { @if (account()) { Unsubscribe from all channels } @else { Unsubscribe } } @else { } } @else { }

Using an ActivityPub account @if (isUserLoggedIn()) { Subscribe with your local account } @else { Subscribe with an account on this instance } @if (isRemoteSubscribeAvailable()) {

Subscribe with a remote account:

}

Using a syndication feed @if (podcastFeedUri) { Subscribe via Podcast Feed } Subscribe via RSS