浏览代码

Fix Typo on Atelier rooms

master
父节点
当前提交
bc59c97049
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      jm2l/views.py

+ 1
- 1
jm2l/views.py 查看文件

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


正在加载...
取消
保存