{% extends "app.html" %} {% comment %} # SPDX-License-Identifier: AGPL-3.0-or-later {% 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 needing 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 %}