aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/user-subscription/subscribe-button.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-26 09:39:41 +0200
committerChocobozzz <me@florianbigard.com>2018-09-26 09:39:41 +0200
commit39ba2e8e3a71961cd0087c57d25905f6a97a6b69 (patch)
treed97d835d1448af796370dc7fe361af5f72582e41 /client/src/app/shared/user-subscription/subscribe-button.component.html
parenta71de50bbc63a3d1d977abf8ad5e154a632a2d71 (diff)
downloadPeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.tar.gz
PeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.tar.zst
PeerTube-39ba2e8e3a71961cd0087c57d25905f6a97a6b69.zip
Add RSS feed to subscribe button
Diffstat (limited to 'client/src/app/shared/user-subscription/subscribe-button.component.html')
-rw-r--r--client/src/app/shared/user-subscription/subscribe-button.component.html17
1 files changed, 13 insertions, 4 deletions
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 @@
10 {{ videoChannel.followersCount | myNumberFormatter }} 10 {{ videoChannel.followersCount | myNumberFormatter }}
11 </span> 11 </span>
12 </button> 12 </button>
13 <button *ngIf="subscribed === true" type="button"
14 class="btn btn-sm" role="button"
15 (click)="unsubscribe()" i18n>Unsubscribe</button>
16 13
17 <div class="btn-group" ngbDropdown autoClose="outside" 14 <button
15 *ngIf="subscribed === true" type="button"
16 class="btn btn-sm" role="button"
17 (click)="unsubscribe()" i18n
18 >
19 Unsubscribe
20 </button>
21
22 <div class="btn-group" ngbDropdown autoClose="outside"
18 placement="bottom-right" role="group" 23 placement="bottom-right" role="group"
19 aria-label="Multiple ways to subscribe to the current channel"> 24 aria-label="Multiple ways to subscribe to the current channel">
20 <button class="btn btn-sm dropdown-toggle-split" ngbDropdownToggle> 25 <button class="btn btn-sm dropdown-toggle-split" ngbDropdownToggle>
@@ -25,16 +30,20 @@
25 {{ videoChannel.followersCount | myNumberFormatter }} 30 {{ videoChannel.followersCount | myNumberFormatter }}
26 </span> 31 </span>
27 </button> 32 </button>
33
28 <div class="dropdown-menu" ngbDropdownMenu> 34 <div class="dropdown-menu" ngbDropdownMenu>
29 35
30 <h6 class="dropdown-header" i18n>Using an ActivityPub-compatible account</h6> 36 <h6 class="dropdown-header" i18n>Using an ActivityPub-compatible account</h6>
37
31 <button class="dropdown-item" (click)="subscribe()" 38 <button class="dropdown-item" (click)="subscribe()"
32 *ngIf="subscribed === false"> 39 *ngIf="subscribed === false">
33 <span *ngIf="!isUserLoggedIn()" i18n>Subscribe with an account on {{ videoChannel.host }}</span> 40 <span *ngIf="!isUserLoggedIn()" i18n>Subscribe with an account on {{ videoChannel.host }}</span>
34 <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span> 41 <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span>
35 </button> 42 </button>
43
36 <button class="dropdown-item" i18n>Subscribe with a remote account:</button> 44 <button class="dropdown-item" i18n>Subscribe with a remote account:</button>
37 <my-remote-subscribe showHelp="true" account="{{ uriAccount }}"></my-remote-subscribe> 45 <my-remote-subscribe showHelp="true" account="{{ uriAccount }}"></my-remote-subscribe>
46
38 <div class="dropdown-divider"></div> 47 <div class="dropdown-divider"></div>
39 48
40 <h6 class="dropdown-header" i18n>Using a syndication feed</h6> 49 <h6 class="dropdown-header" i18n>Using a syndication feed</h6>