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

{% extends "orga/generic/list.html" %}

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

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

{% block stylesheets %}
    <link rel="stylesheet" href="{% static "common/css/ui/tooltip.css" %}" />
{% endblock stylesheets %}

{% block page_title %}
    {{ generic_title }}
    <span data-dialog-target="#info-dialog" data-toggle="dialog">
        <i class="fa fa-question-circle-o text-info ml-2"></i>
    </span>
{% endblock page_title %}

{% block list_content %}
    <dialog id="info-dialog">
        <div class="alert alert-info">
            {% blocktranslate trimmed %}
                Access codes can be used to allow proposals even when the CfP
                is over. You can also use them for hidden tracks or hidden session
                types, which can only be seen with a matching access code.
            {% endblocktranslate %}
        </div>
    </dialog>
    {{ block.super }}
{% endblock list_content %}
