fix display

This commit is contained in:
Romain Bignon 2011-04-10 16:32:41 +02:00
commit 76c54b7ff8

View file

@ -239,9 +239,9 @@ h2. Attendees
for task in member.tasks: for task in member.tasks:
if task.status == task.STATUS_DONE: if task.status == task.STATUS_DONE:
status = '!/img/weboob/_done.png! %s:%s %s' % (task.date.hour, status = '!/img/weboob/_done.png! %02d:%02d %s' % (task.date.hour,
task.date.minute, task.date.minute,
task.branch) task.branch)
elif task.status == task.STATUS_PROGRESS: elif task.status == task.STATUS_PROGRESS:
status = '!/img/weboob/_progress.png!' status = '!/img/weboob/_progress.png!'
else: else:
@ -338,7 +338,7 @@ class Boobathon(ReplApplication):
if task.status == task.STATUS_DONE: if task.status == task.STATUS_DONE:
s += '##' s += '##'
elif task.status == task.STATUS_PROGRESS: elif task.status == task.STATUS_PROGRESS:
s += u'' s += u'=>'
else: else:
s += ' ' s += ' '
s += '|%s' % self.NC s += '|%s' % self.NC
@ -408,7 +408,7 @@ class Boobathon(ReplApplication):
if not i%2: if not i%2:
status = u'|' #1st line status = u'|' #1st line
else: else:
status = u'·' #2nd line status = u'v' #2nd line
else: else:
status = u' ' status = u' '