{% extends "app.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 bootstrap %} {% load i18n %} {% load plinth_extras %} {% load static %} {% block page_head %} {% endblock %} {% block configuration %} {{ block.super }} {% if is_enabled %}

{% trans "Shares" %}

{% blocktrans trimmed %} Note: only specially created directories will be shared on selected disks, not the whole disk. {% endblocktrans %}

{% for disk in disks %} {% endfor %}
{% trans "Disk Name" %} {% trans "Shares" %} {% trans "Used" %}
{{ disk.name|default_if_none:"" }}
{% csrf_token %} {% for share_type in share_types %} {% endfor %}
{% if disk.percent_used < 75 %}
{{ disk.percent_used }}%
{{ disk.used_str }} / {{ disk.size_str }}

{% url 'storage:index' as storage_url %} {% url 'users:index' as users_url %} {% blocktrans trimmed %} You can find additional information about disks on the storage module page and configure access to the shares on the users module page. {% endblocktrans %}

{% trans "Users who can currently access group and home shares" %}: {{ users.access_ok|join:", " }}

{% if users.password_re_enter_needed %}

{% trans "Users who need to re-enter their password on the password change page to access group and home shares" %}: {{ users.password_re_enter_needed|join:", " }}.

{% endif %} {% if unavailable_shares %}

{% trans "Unavailable Shares" %}

{% blocktrans trimmed %} Shares that are configured but the disk is not available. If the disk is plugged back in, sharing will be automatically enabled. {% endblocktrans %}

{% for share in unavailable_shares %} {% endfor %}
{% trans "Share name" %} {% trans "Action" %}
{{ share.name }}
{% csrf_token %}
{% endif %} {% endif %} {% endblock %}