{% extends "server/base.html" %} {# a target's sharing, inside the drawer or the sheet of the page the target belongs to #} {% block top %}{% endblock %} {% block title %}{{ t.text("access.shares.title", {"name": name}) }}{% endblock %} {% block head %}{% endblock %} {% block body %} {# saving or giving up tells the frame the page sits in that it is done #}

{{ t.text("access.shares.hint") }}

{% if roles %}
{{ t.text("access.shares.role") }}{% for point in points %}{{ t.text(point) }}{% endfor %}
{% for role in roles %}
{{ role.name }}{% if default and default.id == role.id %}{{ t.text("access.shares.default") }}{% endif %}
{% for point in points %} {% endfor %}
{% endfor %}
{% else %}

{{ t.text("access.shares.none") }}

{% endif %}
{% endblock %}