mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
I think the refactoring is over :-) I need to add specifec events that will allow plugins to define their own roles inside the hierarchy. Otherwise, the graphical part needs some improvment, actually it's not really pretty :p
23 lines
618 B
HTML
23 lines
618 B
HTML
{% extends "nlayout.html" %}
|
|
{% load i18n libextras 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 %}
|
|
{% if messages %}
|
|
{% display_messages messages %}
|
|
{% endif %}
|
|
<div id="accordion">
|
|
{% for table in permtables %}
|
|
<h3 class="toggler atStart">{{ table.title }}</h3>
|
|
<div class="element atStart" id="{{ table.id }}">
|
|
{{ table.content }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|