Ver código fonte

Fix Typo on Atelier rooms

master
tr4ck3ur des JM2L 9 anos atrás
pai
commit
bc59c97049
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py Ver arquivo

@@ -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] )


Carregando…
Cancelar
Salvar