mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-04-21 14:22:30 +00:00
Compare commits
10 Commits
a90f45bd8b
...
235b071ee6
Author | SHA1 | Date | |
---|---|---|---|
|
235b071ee6 | ||
|
9a67bb5e8f | ||
|
fbd301dc58 | ||
|
8e2b24b2da | ||
|
bd76c280ec | ||
|
ca0a95ba9e | ||
|
614f76e699 | ||
|
a5815f0bc7 | ||
|
b7a660ee40 | ||
|
93aed87265 |
@ -23,7 +23,7 @@ from .models import Profile, Club, Membership
|
||||
class CustomAuthenticationForm(AuthenticationForm):
|
||||
permission_mask = forms.ModelChoiceField(
|
||||
label=_("Permission mask"),
|
||||
queryset=PermissionMask.objects.order_by("rank"),
|
||||
queryset=PermissionMask.objects.order_by("-rank"),
|
||||
empty_label=None,
|
||||
)
|
||||
|
||||
|
@ -20,11 +20,13 @@ SPDX-License-Identifier: GPL-3.0-or-later
|
||||
</form>
|
||||
</div>
|
||||
<!-- MODAL TO CROP THE IMAGE -->
|
||||
<div class="modal fade" id="modalCrop">
|
||||
<div class="modal fade" id="modalCrop" data-backdrop="static">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body">
|
||||
<img src="" id="modal-image" style="max-width: 100%;">
|
||||
<div class="modal-body-wrapper" style="width: 500px; height: 500px; padding: 16px;">
|
||||
<div class="modal-body" style="width: 100%; height: 100%; padding: 0">
|
||||
<img src="" id="modal-image" style="display: block; max-width: 100%;">
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<div class="btn-group pull-left" role="group">
|
||||
|
@ -89,7 +89,7 @@ SPDX-License-Identifier: GPL-2.0-or-later
|
||||
</ul>
|
||||
<div class="card-body">
|
||||
<select id="debit_type" class="form-control custom-select d-none">
|
||||
{% for special_type in special_types %}
|
||||
{% for special_type in special_types|slice:"::-1" %}
|
||||
<option value="{{ special_type.id }}">{{ special_type.special_type }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
|
@ -1,18 +0,0 @@
|
||||
# Generated by Django 4.2.20 on 2025-04-14 20:21
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('treasury', '0009_alter_sogecredit_transactions'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='invoice',
|
||||
name='bde',
|
||||
field=models.CharField(choices=[('Diolistos', 'Diol[list]os'), ('RavePartlist', 'RavePart[list]'), ('SecretStorlist', 'SecretStor[list]'), ('TotalistSpies', 'Tota[list]Spies'), ('Saperlistpopette', 'Saper[list]popette'), ('Finalist', 'Fina[list]'), ('Listorique', '[List]orique'), ('Satellist', 'Satel[list]'), ('Monopolist', 'Monopo[list]'), ('Kataclist', 'Katac[list]')], default='Diolistos', max_length=32, verbose_name='BDE'),
|
||||
),
|
||||
]
|
@ -29,7 +29,7 @@ class Invoice(models.Model):
|
||||
max_length=32,
|
||||
default='Diolistos',
|
||||
choices=(
|
||||
('Diolistos', 'Diol[list]os'),
|
||||
('Diolistos', 'Dio[list]os')
|
||||
('RavePartlist', 'RavePart[list]'),
|
||||
('SecretStorlist', 'SecretStor[list]'),
|
||||
('TotalistSpies', 'Tota[list]Spies'),
|
||||
|
BIN
apps/treasury/static/img/Diolistos.png
Executable file → Normal file
BIN
apps/treasury/static/img/Diolistos.png
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 2.8 MiB After Width: | Height: | Size: 368 KiB |
BIN
apps/treasury/static/img/Diolistos_bg.jpg
Executable file → Normal file
BIN
apps/treasury/static/img/Diolistos_bg.jpg
Executable file → Normal file
Binary file not shown.
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 50 KiB |
@ -27,5 +27,5 @@ MAILTO=notekfet2020@lists.crans.org
|
||||
# Vider les tokens Oauth2
|
||||
00 6 * * * root cd /var/www/note_kfet && env/bin/python manage.py cleartokens -v 0
|
||||
# Envoyer la liste des abonnés à la NL BDA
|
||||
00 10 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art
|
||||
00 10 * * 0 root cd /var/www/note_kfet && env/bin/python manage.py extract_ml_registrations -t art -e "bda.ensparissaclay@gmail.com"
|
||||
|
Loading…
x
Reference in New Issue
Block a user