add alert for disabled Caddy in App Gateway and Gatekeeper modules

This commit is contained in:
Eduardo Silva
2026-03-17 15:43:21 -03:00
parent b517f70165
commit 8435d5edcb
5 changed files with 32 additions and 10 deletions

View File

@@ -0,0 +1,8 @@
{% load i18n %}
{% if not caddy_enabled %}
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
<h5><i class="icon fas fa-exclamation-triangle"></i> {% trans 'Caddy is not enabled' %}</h5>
{% trans 'The App Gateway and Gatekeeper modules require Caddy and the auth-gateway container to be running. Please start the application using <code>docker-compose-caddy.yml</code>.' %}
</div>
{% endif %}