forked from MarseyWorld/MarseyWorld
rename path
parent
4adb6b32e4
commit
90127ffa27
|
@ -124,8 +124,8 @@ def weekly_chart(v:User):
|
||||||
def daily_chart(v:User):
|
def daily_chart(v:User):
|
||||||
return send_file(statshelper.chart_path(kind="daily", site=SITE))
|
return send_file(statshelper.chart_path(kind="daily", site=SITE))
|
||||||
|
|
||||||
@app.get("/patrons")
|
@app.get("/admin/patrons")
|
||||||
@app.get("/paypigs")
|
@app.get("/admin/paypigs")
|
||||||
@limiter.limit(DEFAULT_RATELIMIT)
|
@limiter.limit(DEFAULT_RATELIMIT)
|
||||||
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
@limiter.limit(DEFAULT_RATELIMIT, key_func=get_ID)
|
||||||
@admin_level_required(PERMS['VIEW_PATRONS'])
|
@admin_level_required(PERMS['VIEW_PATRONS'])
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
<li><a href="/grassed">Currently Grassed Users</a></li>
|
<li><a href="/grassed">Currently Grassed Users</a></li>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% if FEATURES['MARSEYBUX'] and v.admin_level >= PERMS['VIEW_PATRONS'] -%}
|
{% if FEATURES['MARSEYBUX'] and v.admin_level >= PERMS['VIEW_PATRONS'] -%}
|
||||||
<li><a href="/patrons">Patrons</a></li>
|
<li><a href="/admin/patrons">Patrons</a></li>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{% if v.admin_level >= PERMS['VIEW_ACTIVE_USERS'] %}
|
{% if v.admin_level >= PERMS['VIEW_ACTIVE_USERS'] %}
|
||||||
<li><a href="/admin/loggedin">Currently Logged-in Users</a></li>
|
<li><a href="/admin/loggedin">Currently Logged-in Users</a></li>
|
||||||
|
|
Loading…
Reference in New Issue