Skip to content
Snippets Groups Projects
Commit a9973acd authored by Julian's avatar Julian
Browse files

Show splash screen on 503 error

parent a9ca7881
No related branches found
No related tags found
1 merge request!1154Resolve "Verify maintenance mode with GraphQL / reimplement maintenance mode handling"
{% extends "core/base.html" %}
{% load i18n %}
{% extends "core/vue_index.html" %}
{% block content %}
<div class="container">
<div class="card red">
<div class="card-content white-text">
<i class="material-icons iconify small left" data-icon="mdi:alert-octagon-outline"></i>
<span class="card-title">{% blocktrans %}The maintenance mode is currently enabled. Please try again
later.{% endblocktrans %}</span>
<p>
{% blocktrans %}
This page is currently unavailable. If this error persists, contact your site administrators:
{% endblocktrans %}
</p>
{% include "core/partials/admins_list.html" %}
</div>
</div>
</div>
{% block no_frontend %}
{% endblock %}
......@@ -29,8 +29,10 @@
<app ref="aleksisApp"></app>
</main>
{% if not need_maintenance_response %}
{% vite_asset 'aleksis/core/frontend/index.js' %}
{% endif %}
{% block no_frontend %}
{% if not need_maintenance_response %}
{% vite_asset 'aleksis/core/frontend/index.js' %}
{% endif %}
{% endblock no_frontend %}
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment