mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
7b27d0dd4e
The stable version is set via the new environment variable stable_version. E.g. stable_version=1.7
31 lines
935 B
HTML
31 lines
935 B
HTML
{% extends "bootstrap/base.html" %}
|
|
{% import "macros.html" as macros %}
|
|
|
|
{% block title %}Mailu setup{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<h1>Mailu configuration</h1>
|
|
<p>
|
|
Version
|
|
<select id=version_select onchange="window.location.href=this.value;" class="btn btn-primary dropdown-toggle">
|
|
{% for module in versions %}
|
|
<option value="/{{ module }}" {% if module == version %}selected {% endif %}>{{ module }}</option>
|
|
{% endfor %}
|
|
</select>
|
|
</p>
|
|
|
|
{% if version != stable_version %}
|
|
{% call macros.panel("danger", "You have not selected the stable version") %}
|
|
You have not selected the stable version. The stable version is {{ stable_version }}.
|
|
The selected version can be used for testing and reporting bugs.
|
|
For production scenarios we recommend to use the stable version.
|
|
{% endcall %}
|
|
{% endif %}
|
|
|
|
{% block page %}{% endblock %}
|
|
|
|
</div>
|
|
<p></p>
|
|
{% endblock %}
|