]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+accounts/accounts.component.html
Make subscribe buttons observe subscription statuses to synchronise
[github/Chocobozzz/PeerTube.git] / client / src / app / +accounts / accounts.component.html
index 1b6eb480ebb13df1ba2650f34a98ffa4a0f7c1bb..be40b63cae971d8cd22579af3aeb910a9c540754 100644 (file)
           >
           </my-user-moderation-dropdown>
         </div>
-        <div class="actor-followers">
-          {{ account.followersCount }} 
-          <ng-container *ngIf="account.followersCount === 1; then single; else multiple"></ng-container>
-          <ng-template i18n #single>subscriber</ng-template>
-          <ng-template i18n #multiple>subscribers</ng-template>
-        </div>
+        <div class="actor-followers" i18n>{account.followersCount, plural, =1 {1 subscriber} other {{{ account.followersCount }} subscribers}}</div>
       </div>
 
       <my-subscribe-button *ngIf="videoChannels" [account]="account" [videoChannels]="videoChannels"></my-subscribe-button>