mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
display the number of viewers
This commit is contained in:
parent
c581a43073
commit
0e86ead40e
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
span.channel-strip__state.label.label--narrow.label--success
|
||||
' LIVE NOW
|
||||
br
|
||||
=> @channel.viewers
|
||||
= if @channel.viewers == 1, do: "viewer", else: "viewers"
|
||||
- else
|
||||
span.channel-strip__state.label.label--narrow.label--danger
|
||||
|
|
Loading…
Reference in a new issue