diff --git a/files/routes/jinja2.py b/files/routes/jinja2.py index 2af5f8653..fb511dabb 100644 --- a/files/routes/jinja2.py +++ b/files/routes/jinja2.py @@ -65,8 +65,8 @@ def selected_tab(request): return 'new' elif request.path == '/comments': return 'comments' - elif request.path == '/leaderboard': - return 'leaderboard' + elif request.path == '/casino': + return 'casino' elif request.path == '/chat': return 'chat' elif request.path=='/shop/awards': diff --git a/files/templates/errors/WPD/404.html b/files/templates/errors/WPD/404.html index f1c0c6d8f..3dc4856db 100644 --- a/files/templates/errors/WPD/404.html +++ b/files/templates/errors/WPD/404.html @@ -163,12 +163,12 @@ + {% if v and v.defaultsorting == 'new' %} - + {% else %} - -{% endif %} - - -{% if v %} - {% if FEATURES['CHAT'] -%} - - {%- endif %} - {% if FEATURES['AWARDS'] -%} - - {%- endif %} -{% else %} - + {% endif %} + + +{% if v %} + {% if FEATURES['CHAT'] -%} + + {%- endif %} + {% if FEATURES['AWARDS'] -%} + + {%- endif %} +{% else %} + +{% endif %} +