aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/shared/user-subscription/subscribe-button.component.html6
-rw-r--r--client/src/app/shared/user-subscription/subscribe-button.component.ts2
2 files changed, 4 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 275349b7f..1c2288ebb 100644
--- a/client/src/app/shared/user-subscription/subscribe-button.component.html
+++ b/client/src/app/shared/user-subscription/subscribe-button.component.html
@@ -12,8 +12,8 @@
12 </span> 12 </span>
13 </ng-template> 13 </ng-template>
14 </span> 14 </span>
15 <span *ngIf="displayFollowers && videoChannel.followersCount !== 0" class="followers-count"> 15 <span *ngIf="!isBigButton() && displayFollowers && videoChannels.length > 1 && videoChannels[0].followersCount !== 0" class="followers-count">
16 {{ videoChannel.followersCount | myNumberFormatter }} 16 {{ videoChannels[0].followersCount | myNumberFormatter }}
17 </span> 17 </span>
18 </ng-template> 18 </ng-template>
19 19
@@ -50,7 +50,7 @@
50 <h6 class="dropdown-header" i18n>Using an ActivityPub account</h6> 50 <h6 class="dropdown-header" i18n>Using an ActivityPub account</h6>
51 51
52 <button class="dropdown-item" (click)="subscribe()"> 52 <button class="dropdown-item" (click)="subscribe()">
53 <span *ngIf="!isUserLoggedIn()" i18n>Subscribe with an account on {{ videoChannel.host }}</span> 53 <span *ngIf="!isUserLoggedIn()" i18n>Subscribe with an account on this instance</span>
54 <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span> 54 <span *ngIf="isUserLoggedIn()" i18n>Subscribe with your local account</span>
55 </button> 55 </button>
56 56
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 14a6bfe66..1ebfdc82f 100644
--- a/client/src/app/shared/user-subscription/subscribe-button.component.ts
+++ b/client/src/app/shared/user-subscription/subscribe-button.component.ts
@@ -146,7 +146,7 @@ export class SubscribeButtonComponent implements OnInit {
146 } 146 }
147 147
148 isBigButton () { 148 isBigButton () {
149 return this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed() 149 return this.isUserLoggedIn() && this.videoChannels.length > 1 && this.isAtLeastOneChannelSubscribed()
150 } 150 }
151 151
152 gotoLogin () { 152 gotoLogin () {