forked from rDrama/rDrama
1
0
Fork 0

fix visitor flavor for forkers

master
Aevann 2023-11-17 22:56:21 +02:00
parent 6a8606b5c8
commit 96a821e69f
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<div class="srd">
{{calc_users()}}
{% if SITE_NAME == 'rDrama' %}
{% if not hasattr(g, "loggedin_counter") or not g.loggedin_counter or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% if not hasattr(g, "loggedout_counter") or not g.loggedout_counter or (range(1,5) | random == 1 and not (v and v.truescore > 1000)) %}
{% include "journoid_banner.html" %}
{% else %}
{% if IS_DKD() %}
@ -75,7 +75,7 @@
{% endif %}
{{g.loggedin_counter+g.loggedout_counter}} {{VISITORS_HERE_FLAVOR|random|safe}} ({{g.loggedin_counter}} logged in)
{% endif %}
{% elif hasattr(g, "loggedin_counter") and g.loggedin_counter %}
{% elif hasattr(g, "loggedout_counter") and g.loggedout_counter %}
{{g.loggedin_counter+g.loggedout_counter}} people here now ({{g.loggedin_counter}} logged in)
{% else %}
Don't make the mistakes seen here.