diff --git a/bda/templates/bda-attrib.html b/bda/templates/bda-attrib.html index 81540594..ce3d0cf1 100644 --- a/bda/templates/bda-attrib.html +++ b/bda/templates/bda-attrib.html @@ -10,8 +10,9 @@

Attributions


-

Pensez à désactiver le lancement du tirage dès maintenant dans -l'interface admin

+

Pour raison de sécurité, le lancement du tirage + a été désactivé. Vous pouvez le réactiver dans + l'interface admin

Token :

{{ token }}
diff --git a/bda/views.py b/bda/views.py index 7c10e0f2..f97a6c70 100644 --- a/bda/views.py +++ b/bda/views.py @@ -239,6 +239,7 @@ def do_tirage(request, tirage_id): tirage_elt.tokens += "%s\n\"\"\"%s\"\"\"\n" % ( timezone.now().strftime("%y-%m-%d %H:%M:%S"), form.cleaned_data['token']) + tirage_elt.enable_do_tirage = False tirage_elt.save() for (show, members, _) in results: for (member, _, _, _) in members: diff --git a/gestioncof/static/css/cof.css b/gestioncof/static/css/cof.css index 6cbc6c5d..3fb48ffb 100644 --- a/gestioncof/static/css/cof.css +++ b/gestioncof/static/css/cof.css @@ -240,21 +240,16 @@ fieldset legend { background-color: transparent; } +.success a { + color: inherit; +} + .error { font-weight: bold; color: #B00000; background-color: transparent; } -.important { - font-weight: bold; - color: #F90; -} - -.important a { - color: #F90; -} - #main form ul.errorlist li { font-weight: bold; color: #B00000;