<!--
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 "common/error.html" %}

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

{% block error_image %}
    <img loading="lazy" src="{% static "common/img/error_5xx.svg" %}" class="img" alt="{% translate "Internal server error." %}">
{% endblock error_image %}
{% block error_message %}
    <p>
        {% translate "We have encountered an error." %}
        <br>
    </p>
    </h2>
    <h5>
        <p>
            {% if development_mode %}
                {% blocktranslate with link="https://github.com/pretalx/pretalx/issues/new?template=bug_report.md&title=Error+on+"|add:request_path trimmed %}
                    Please help us to fix this by submitting <a href="{{ link }}" rel=noopener>a bug report</a>!
                {% endblocktranslate %}
            {% endif %}
        </p>
    </h5>
{% endblock error_message %}
{% block error_code %}500{% endblock error_code %}
