aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-08 22:13:47 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-01-10 10:12:09 +0100
commit9270ccf6dca5b2955ad126947d4296deb385fdcb (patch)
tree120807348c51437aaa35e52bed9122cdfc08437f /client/src/app/+accounts/account-video-channels/account-video-channels.component.html
parentb061c8edb053d4a7a02f09d93d406f6a8c58006e (diff)
downloadPeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.tar.gz
PeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.tar.zst
PeerTube-9270ccf6dca5b2955ad126947d4296deb385fdcb.zip
Make subscribe buttons observe subscription statuses to synchronise
Diffstat (limited to 'client/src/app/+accounts/account-video-channels/account-video-channels.component.html')
-rw-r--r--client/src/app/+accounts/account-video-channels/account-video-channels.component.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
index 93f43a350..781156840 100644
--- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
+++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.html
@@ -9,11 +9,7 @@
9 <img [src]="videoChannel.avatarUrl" alt="Avatar" /> 9 <img [src]="videoChannel.avatarUrl" alt="Avatar" />
10 10
11 <div>{{ videoChannel.displayName }}</div> 11 <div>{{ videoChannel.displayName }}</div>
12 <div class="followers">{{ videoChannel.followersCount }} 12 <div class="followers" i18n>{videoChannel.followersCount, plural, =1 {1 subscriber} other {{{ videoChannel.followersCount }} subscribers}}</div>
13 <ng-container *ngIf="videoChannel.followersCount === 1; then single; else multiple"></ng-container>
14 <ng-template i18n #single>subscriber</ng-template>
15 <ng-template i18n #multiple>subscribers</ng-template>
16 </div>
17 </a> 13 </a>
18 14
19 <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button> 15 <my-subscribe-button [videoChannels]="[videoChannel]"></my-subscribe-button>