{% extends 'base.html' %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% endcomment %} {% load i18n %} {% load static %} {% block body_class %}index-page{% endblock %} {% block container %} {% if messages or selected_shortcut or not shortcuts %}
{% include 'messages.html' %} {% if not shortcuts %}

{% url 'apps' as apps_url %} {% blocktrans trimmed %} Enable some applications to add shortcuts to this page. {% endblocktrans %}

{% endif %} {% if selected_shortcut.description %} {% include "app-header.html" with app_info=selected_shortcut %}
{% include "clients.html" with clients=selected_shortcut.clients enabled=True %}
{% endif %}
{% endif %} {% if shortcuts %}
{% for shortcut in shortcuts %} {% if shortcut.is_enabled %} {% if user.is_authenticated or not shortcut.login_required %} {% endif %} {% endif %} {% endfor %}
{% endif %} {% endblock %} {% block footer_block %}

{% endblock %}