<!--
SPDX-FileCopyrightText: 2017-present Tobias Kunze
SPDX-License-Identifier: AGPL-3.0-only WITH LicenseRef-Pretalx-AGPL-3.0-Terms

This file contains Apache-2.0 licensed contributions copyrighted by the following contributors:
SPDX-FileContributor: Raphael Michel
-->

{% extends "orga/settings/base.html" %}

{% load i18n %}
{% load static %}

{% block scripts %}
    <script defer src="{% static "common/js/ui/dialog.js" %}"></script>
{% endblock scripts %}

{% block extra_title %}{% translate "Email settings" %} :: {% endblock extra_title %}

{% block settings_content %}
    <h2>
        {% translate "Email settings" %}
        <span data-dialog-target="#info-dialog" data-toggle="dialog">
            <i class="fa fa-question-circle-o text-info"></i>
        </span>
    </h2>
    <dialog id="info-dialog">
        <div class="alert alert-info">
            {% blocktranslate trimmed %}
                If you don’t configure custom email settings, the global configuration
                for this server will be used (ask your administrator for details).<br>
                We recommend that you add email settings here explicitly.
            {% endblocktranslate %}
        </div>
    </dialog>
    {% include "orga/includes/base_form.html" %}
{% endblock settings_content %}
