{% extends 'layout/admin_page.html' %} {% from 'message_box.html' import message_box %} {% from 'forms/_form.html' import simple_form, form_rows, form_fieldset %} {% block title %} {% trans %}General Settings{% endtrans %} {% endblock %} {% block content %} {% if show_migration_message and not cephalopod_data.enabled %}
{% trans %}Upgrade to Indico v2 successful!{% endtrans %}
{% trans %}Please consider registering your server with the Community Hub.{% endtrans %}
{% endif %} {% if config.DEBUG %} {% call message_box('warning') -%} {% trans %}Debug mode is enabled.{% endtrans %} {%- endcall %} {% endif %} {% call message_box('highlight', classes='js-indico-version-message', style='display: none;') -%} {% trans -%} A new Indico version () is available! Your current version is . {%- endtrans %} {# TODO remove in 3.0 #} {# not translated since it's very temporary and only targets admins anyway #} {%- endcall %} {% call message_box('highlight', classes='js-indico-plugins-version-message', style='display: none;') -%} {% trans -%} A new version () of the official Indico plugin package is available! Your current version is . {%- endtrans %} {%- endcall %} {% call simple_form(form, back_button=false) %} {% set legend %} {% trans %}System{% endtrans %} {% endset %} {% call form_fieldset(legend) %}
{% trans %}Default language{% endtrans %}
{{ indico_config.DEFAULT_LOCALE }}
{% trans %}Default timezone{% endtrans %}
{{ indico_config.DEFAULT_TIMEZONE }}
{% trans %}Admin email{% endtrans %}
{{ indico_config.SUPPORT_EMAIL }}
{% trans %}Support email{% endtrans %}
{{ indico_config.PUBLIC_SUPPORT_EMAIL }}
{% trans %}No-reply email{% endtrans %}
{{ indico_config.NO_REPLY_EMAIL }}
{% endcall %} {% for legend, fields in form._fieldsets %} {% call form_fieldset(legend) %} {{ form_rows(form, fields=fields) }} {% endcall %} {% endfor %} {% endcall %} {# TODO: move this to some kind of admin dashboard once we have one #} {% if cephalopod_data.enabled %} {% endif %} {% endblock %}