mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-26 00:59:24 +01:00
check if subscribers exist
This commit is contained in:
parent
5e33387e5b
commit
c9e1ae94b7
@ -118,13 +118,14 @@ html
|
||||
input(type="checkbox", name="nsfw", id="nsfw", checked="checked")
|
||||
input(type="submit", value="search")
|
||||
if sidebar_data
|
||||
.content
|
||||
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
|
||||
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}
|
||||
br
|
||||
.heading
|
||||
p.title #{sidebar_data.title}
|
||||
.short-description
|
||||
!= unescape(sidebar_data.public_description_html)
|
||||
.description
|
||||
!= unescape(sidebar_data.description_html)
|
||||
if sidebar_data.subscribers
|
||||
.content
|
||||
p subscribers: #{sidebar_data.subscribers.toLocaleString()}
|
||||
p users here right now: #{sidebar_data.active_user_count.toLocaleString()}
|
||||
br
|
||||
.heading
|
||||
p.title #{sidebar_data.title}
|
||||
.short-description
|
||||
!= unescape(sidebar_data.public_description_html)
|
||||
.description
|
||||
!= unescape(sidebar_data.description_html)
|
||||
|
Loading…
Reference in New Issue
Block a user