forked from MarseyWorld/MarseyWorld
only calc_users when we need to show them
parent
dca21741c3
commit
3150714c2e
|
@ -13,8 +13,7 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
{{calc_users(v)}}
|
||||
{% if g.loggedin_counter and not err and (SITE_NAME in ('PCM','rDrama') or g.loggedin_counter+g.loggedout_counter > 100) %}
|
||||
{% if not err %}
|
||||
<div class="srd">
|
||||
{% if SITE_NAME == 'rDrama' %}
|
||||
{% if range(1,5) | random == 1 %}
|
||||
|
@ -41,9 +40,11 @@
|
|||
' throwing shade right now',
|
||||
]
|
||||
-%}
|
||||
{{calc_users(v)}}
|
||||
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{calc_users(v)}}
|
||||
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
|
||||
{% endif %}
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue