forked from MarseyWorld/MarseyWorld
vxc
parent
558b4eba4f
commit
267227831e
|
@ -316,7 +316,7 @@ def sign_up_post(v):
|
|||
g.db.add(new_badge)
|
||||
|
||||
|
||||
id_1 = g.db.query(User.id).filter_by(id=7).count()
|
||||
id_1 = g.db.query(User.id).filter_by(id=8).count()
|
||||
users_count = g.db.query(User.id).count()
|
||||
if id_1 == 0 and users_count == 7: admin_level=3
|
||||
else: admin_level=0
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
<div class="d-flex align-items-center sortingbarmargin">
|
||||
<div class="text-small font-weight-bold mr-2"></div>
|
||||
|
||||
{% if request.path == '/' and v.admin_level > 1 or v.club_allowed != False %}
|
||||
{% if request.path == '/' and v.paid_dues %}
|
||||
<div class="toggle-cc-mode">
|
||||
<button class="btn btn-secondary ccMode-toggle" type="button" id="toggleCCMode">
|
||||
{% if ccmode=="true"%}<a class="cc-activated" href="?sort={{sort}}&t={{t}}&ccmode=false"><i class="fas fa-angry mr-2"></i>COUNTRY CLUB MODE: ACTIVATED</a>{% endif %}
|
||||
|
|
Loading…
Reference in New Issue