~schooltool-owners/schooltool/2.8

« back to all changes in this revision

Viewing changes to src/schooltool/timetable/browser/ttwizard.py

  • Committer: Douglas Cerna
  • Date: 2014-11-11 03:19:45 UTC
  • Revision ID: douglascerna@yahoo.com-20141111031945-d34mnbec79haw24o
Specified 24 hour format for slots in timetable wizard (LP: #892941)

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
    __name__ = 'simple_slot_entry_step'
458
458
 
459
459
    description = _("Enter start and end times for each slot,"
460
 
                    " one slot (HH:MM - HH:MM) per line.")
 
460
                    " one slot (HH:MM - HH:MM) per line. "
 
461
                    "The start and end times MUST BE IN 24 HOUR FORMAT, "
 
462
                    "for example, 13:30 not 01:30 PM.")
461
463
 
462
464
    class schema(Interface):
463
465
        times = Text(default=u"9:30-10:25\n10:30-11:25", required=False)
500
502
    __call__ = ViewPageTemplateFile("templates/ttwizard_slottimes.pt")
501
503
 
502
504
    description = _("Enter start and end times for each slot on each day,"
503
 
                    " one slot (HH:MM - HH:MM) per line.")
 
505
                    " one slot (HH:MM - HH:MM) per line. The start and "
 
506
                    "end times MUST BE IN 24 HOUR FORMAT, "
 
507
                    "for example, 13:30 not 01:30 PM.")
504
508
 
505
509
    error = None
506
510
    example_intervals = '8:00 - 8:45\n9:05 - 9:50\n'