forked from rDrama/rDrama
1
0
Fork 0

Add flavor text back to sidebar counter.

master
Snakes 2022-05-28 17:39:49 -04:00
parent 531c893626
commit a2e1be3678
1 changed files with 9 additions and 6 deletions

View File

@ -17,7 +17,7 @@ set VISITORS_HERE_FLAVOR = [
' chuds currently agendaposting', ' chuds currently agendaposting',
' coomers currently gooning', ' coomers currently gooning',
' oopsie woopsie fucko boingos narwhaling bacons', ' oopsie woopsie fucko boingos narwhaling bacons',
' well behaved rule following goodthinkers', ' well-behaved rule following goodthinkers',
' throwing shade right now', ' throwing shade right now',
] ]
-%} -%}
@ -42,11 +42,14 @@ set VISITORS_HERE_FLAVOR = [
</div> </div>
<p class="mt-1 ml-2 mb-4 text-center text-lg"> <p class="mt-1 ml-2 mb-4 text-center text-lg">
{% if v and v.admin_level > 1 %} <span id="sidebar--counter--total">{{ g.loggedin_counter + g.loggedout_counter }}</span>
<a href="/admin/loggedin">{{g.loggedin_counter}} logged in</a>, <a href="/admin/loggedout">{{g.loggedout_counter}} logged out</a> <span id="sidebar--counter--flavor">{{ VISITORS_HERE_FLAVOR|random|safe }}</span>
{% else %} <span id="sidebar--counter-loggedin">({{ g.loggedin_counter }} logged in)</span>
{{g.loggedin_counter}} logged in, {{g.loggedout_counter}} logged out {% if v and v.admin_level >= 2 -%}
{% endif %} <span id="sidebar--counter--admin" style="text-align: center; display: block; font-size: 1rem;">
<a href="/admin/loggedin">Logged In</a> | <a href="/admin/loggedout">Logged Out</a>
</span>
{%- endif %}
</p> </p>
{% if sub %} {% if sub %}