mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-02-05 23:03:02 +00:00
Compare commits
4 Commits
121f2f950f
...
e2e53e6342
Author | SHA1 | Date | |
---|---|---|---|
|
e2e53e6342 | ||
|
bd6ed27ae5 | ||
|
787005e60d | ||
|
414e103686 |
@ -31,3 +31,4 @@ class RoleAdmin(admin.ModelAdmin):
|
|||||||
Admin customisation for Role
|
Admin customisation for Role
|
||||||
"""
|
"""
|
||||||
list_display = ('name', )
|
list_display = ('name', )
|
||||||
|
filter_horizontal = ('permissions',)
|
||||||
|
@ -4410,74 +4410,6 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"model": "permission.role",
|
|
||||||
"pk": 23,
|
|
||||||
"fields": {
|
|
||||||
"for_club": 10,
|
|
||||||
"name": "Tr\u00e9sorièr\u22c5e BDA",
|
|
||||||
"permissions": [
|
|
||||||
33,
|
|
||||||
55,
|
|
||||||
56,
|
|
||||||
57,
|
|
||||||
58,
|
|
||||||
135,
|
|
||||||
143,
|
|
||||||
176,
|
|
||||||
177,
|
|
||||||
178
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"model": "permission.role",
|
|
||||||
"pk": 24,
|
|
||||||
"fields": {
|
|
||||||
"for_club": 10,
|
|
||||||
"name": "Respo sortie",
|
|
||||||
"permissions": [
|
|
||||||
239,
|
|
||||||
240,
|
|
||||||
241,
|
|
||||||
242,
|
|
||||||
243
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"model": "permission.role",
|
|
||||||
"pk": 25,
|
|
||||||
"fields": {
|
|
||||||
"for_club": 267,
|
|
||||||
"name": "Tr\u00e9sorièr\u22c5e Terre à terre",
|
|
||||||
"permissions": [
|
|
||||||
33,
|
|
||||||
55,
|
|
||||||
56,
|
|
||||||
57,
|
|
||||||
58,
|
|
||||||
135,
|
|
||||||
143,
|
|
||||||
176,
|
|
||||||
177,
|
|
||||||
178
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"model": "permission.role",
|
|
||||||
"pk": 26,
|
|
||||||
"fields": {
|
|
||||||
"for_club": 282,
|
|
||||||
"name": "Tr\u00e9sorièr\u22c5e Gala",
|
|
||||||
"permissions": [
|
|
||||||
33
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"model": "wei.weirole",
|
"model": "wei.weirole",
|
||||||
"pk": 12,
|
"pk": 12,
|
||||||
|
@ -159,11 +159,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
|||||||
</nav>
|
</nav>
|
||||||
<div class="{% block containertype %}container{% endblock %} my-3">
|
<div class="{% block containertype %}container{% endblock %} my-3">
|
||||||
<div id="messages">
|
<div id="messages">
|
||||||
{% if user.is_authenticated %}
|
|
||||||
<div class="alert alert-info">
|
|
||||||
Venez au festival des Sens de l'Art du 2 au 7 décembre 🐘 !
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{% if not user|is_member:"BDE" %}
|
{% if not user|is_member:"BDE" %}
|
||||||
<div class="alert alert-danger">
|
<div class="alert alert-danger">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user