gl-website-deployer/admin/phpMyAdmin/templates/setup/servers/index.twig

21 lines
460 B
Twig
Raw Normal View History

2024-11-19 08:02:04 +01:00
{% 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 %}