diff --git a/app/scodoc/sco_moduleimpl_status.py b/app/scodoc/sco_moduleimpl_status.py index fd062f64d..cb78688f5 100644 --- a/app/scodoc/sco_moduleimpl_status.py +++ b/app/scodoc/sco_moduleimpl_status.py @@ -128,8 +128,9 @@ def moduleimpl_evaluation_menu(evaluation_id, nbnotes=0, REQUEST=None): "args": { "evaluation_id": evaluation_id, }, - "enabled": nbnotes == 0 - and sco_permissions_check.can_edit_notes(current_user, E["moduleimpl_id"]), + "enabled": sco_permissions_check.can_edit_notes( + current_user, E["moduleimpl_id"] + ), }, { "title": "Absences ce jour", diff --git a/app/scodoc/sco_placement.py b/app/scodoc/sco_placement.py index 5df8976df..ab9777b44 100644 --- a/app/scodoc/sco_placement.py +++ b/app/scodoc/sco_placement.py @@ -107,7 +107,10 @@ class PlacementForm(FlaskForm): batiment = StringField("Batiment") salle = StringField("Salle") nb_rangs = SelectField( - "nb_rangs", coerce=int, choices=[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] + "nb de places en largeur", + coerce=int, + choices=[3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], + description="largeur de la salle, en nombre de places", ) etiquetage = RadioField( "Numérotation", diff --git a/app/templates/scodoc/forms/placement.html b/app/templates/scodoc/forms/placement.html index f2c11b159..5d2c3c205 100644 --- a/app/templates/scodoc/forms/placement.html +++ b/app/templates/scodoc/forms/placement.html @@ -1,34 +1,34 @@ {% import 'bootstrap/wtf.html' as wtf %} {% macro render_field(field) %} -
+ + + +