You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
460 B
21 lines
460 B
2 years ago
|
{% 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 %}
|