gl-website-deployer/admin/phpMyAdmin/templates/setup/servers/index.twig
2024-11-23 20:45:29 +01:00

21 lines
460 B
Twig

{% extends 'setup/base.twig' %}
{% block content %}
{% if mode == 'edit' and has_server %}
<h2>
{% trans 'Edit server' %}
{{ server_id }}
<small>({{ server_dsn }})</small>
</h2>
{% elseif mode != 'revert' or not has_server %}
<h2>{% trans 'Add a new server' %}</h2>
{% endif %}
{% if mode == 'add' or mode == 'edit' or mode == 'revert' %}
{{ page|raw }}
{% else %}
<p>{% trans 'Something went wrong.' %}</p>
{% endif %}
{% endblock %}