Ordina talk per stanza/nome oltre che per data
This commit is contained in:
parent
5aed1abcd4
commit
e28ed8f549
1 changed files with 4 additions and 3 deletions
|
@ -188,9 +188,10 @@ class TalkListDirective(Directive):
|
||||||
When no date is available, put at the beginning
|
When no date is available, put at the beginning
|
||||||
'''
|
'''
|
||||||
d = get_talk_data(name)
|
d = get_talk_data(name)
|
||||||
if 'time' in d:
|
room = d.get('room', '')
|
||||||
return d['time']
|
time = d.get('time', datetime.datetime(1, 1, 1))
|
||||||
return datetime.datetime(1, 1, 1)
|
title = d.get('title', '')
|
||||||
|
return (time, room, title)
|
||||||
|
|
||||||
return [
|
return [
|
||||||
nodes.raw('', tmpl.render(lang=lang, **get_talk_data(n)),
|
nodes.raw('', tmpl.render(lang=lang, **get_talk_data(n)),
|
||||||
|
|
Loading…
Reference in a new issue