{% extends 'base.html' %} {% comment %} # # This file is part of FreedomBox. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% 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 %} {% block pagetitle %}

{{ selected_shortcut.name }}

{% endblock %} {% block description %} {% for paragraph in selected_shortcut.description %}

{{ paragraph|safe }}

{% endfor %} {% endblock %} {% include "clients.html" with clients=selected_shortcut.clients enabled=True %} {% if user.is_authenticated and user_is_admin and selected_shortcut.configure_url %} {% trans "Configure »" %} {% endif %} {% 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 %}

{% blocktrans trimmed %} {{ box_name }}, a Debian pure blend, is a 100% free software self-hosting web server to deploy social applications on small machines. It provides online communication tools respecting your privacy and data ownership. {% endblocktrans %}

{% blocktrans trimmed %} This portal is a part of the {{ box_name }} web interface. {{ box_name }} is free software, distributed under the GNU Affero General Public License, Version 3 or later. {% endblocktrans %}

{% endblock %}