{% extends "_base.html" %}
{% load i18n %}
{% load static %}
{% block content %}
    <div class="dashboard">
        <h1 class="heading">
            {% translate "Admin Dashboard" %}
        </h1>
        <div class="xl:flex gap-3">
            <div class="xl:w-1/2">
                <!-- Chat Widget -->
                {% if chat_form %}
                    {% include "chat/_chat_widget.html" with box_id="dashboard-chat" %}
                {% endif %}
                {% for year, versions in release_notes.items %}
                    {% for version, notes in versions.items %}
                        {% include "release_notes/latest_release_widget.html" with box_id="latest-release" %}
                    {% endfor %}
                {% endfor %}
            </div>
            <div class="xl:w-1/2">
                <!-- Feedback Widget -->
                {% include "feedback/_feedback_widget.html" with box_id="dashboard-feedback" %}
            </div>
        </div>
    </div>
    {% include "../generic_confirmation_dialog.html" %}
{% endblock content %}
