mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-20 06:08:35 +02:00
Work in progress. I've moved permissions management to the new dedicated page. Adding permissions is working but deleting ones. I must also filter the list of users available when creating a super admin because the default admin appears inside :p
20 lines
552 B
HTML
20 lines
552 B
HTML
{% extends "nlayout.html" %}
|
|
{% load i18n admin_extras %}
|
|
{% block html_head %}
|
|
<script src="{{ MEDIA_URL }}js/permissions.js" type="text/javascript"></script>
|
|
{% endblock %}
|
|
{% block middletitle %}{% trans "Permissions" %}{% endblock %}
|
|
{% block menu %}
|
|
{% permissions_menu user %}
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div id="accordion">
|
|
{% for table in permtables %}
|
|
<h3 class="toggler atStart">{{ table.title }}</h3>
|
|
<div class="element atStart" name="{{ table.addurl }}">
|
|
{{ table.content }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|