manager: style sections of service page (#46009)

This commit is contained in:
Frédéric Péters 2020-08-23 18:56:12 +02:00
parent 2f55753058
commit 5a9c4000df
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,7 @@
{% endblock %}
{% block main %}
<div class="section">
<h3>{% trans "Roles of users allowed on this service" %}</h3>
<div id="authorized-roles">
{% with row_link=1 url_name='a2-manager-role-members' %}
@ -35,12 +36,15 @@
<button>{% trans "Add" %}</button>
</form>
</div>
</div>
<div class="section">
<h3>{% trans "Roles solely visible from this service" %}</h3>
<div id="restricted-roles">
{% with row_link=1 url_name='a2-manager-role-members' table=roles_table%}
{% render_table table "authentic2/manager/table.html" %}
{% endwith %}
</div>
</div>
{% endblock %}