Browse Source

Fix Typo on Atelier rooms

master
tr4ck3ur des JM2L 9 years ago
parent
commit
bc59c97049
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py View File

@@ -1436,7 +1436,7 @@ def edit_event(request):
[60, 90, 120, 150, 180, 210, 240] )
if not duration in map(lambda (d,y): d, form.duration.choices):
form.duration.choices.append( (duration,u'Atelier (%dh%.2d)' % (duration/60, duration%60) ) )
SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Ateliers', 'MAO']))
SalleDispo = SalleDispo.filter(Salles.place_type.in_(['Atelier', 'MAO']))
elif intervention=="Table_ronde":
form.duration.choices = map( lambda d:(d, u'Table ronde (%dh%.2d)' % (d/60, d%60) ), \
[60, 90, 120, 150] )


Loading…
Cancel
Save