mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 21:47:59 +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
|
span.channel-strip__state.label.label--narrow.label--success
|
||||||
' LIVE NOW
|
' LIVE NOW
|
||||||
br
|
br
|
||||||
|
=> @channel.viewers
|
||||||
= if @channel.viewers == 1, do: "viewer", else: "viewers"
|
= if @channel.viewers == 1, do: "viewer", else: "viewers"
|
||||||
- else
|
- else
|
||||||
span.channel-strip__state.label.label--narrow.label--danger
|
span.channel-strip__state.label.label--narrow.label--danger
|
||||||
|
|
Loading…
Reference in a new issue