Merge pull request #117 from pilou-/html_add_event_id
HTML output: add 'id' attribute foreach event
This commit is contained in:
commit
0f148c89ce
|
@ -151,6 +151,7 @@ class Program:
|
||||||
if event.row != 0:
|
if event.row != 0:
|
||||||
continue
|
continue
|
||||||
options = ' rowspan="%d" bgcolor="%s"' % (event.rowcount, event.talk.category.color)
|
options = ' rowspan="%d" bgcolor="%s"' % (event.rowcount, event.talk.category.color)
|
||||||
|
options += ' id="%d"' % event.id
|
||||||
cellcontent = escape(str(event.talk)) + '<br><em>' + escape(event.talk.get_speakers_str()) + '</em>'
|
cellcontent = escape(str(event.talk)) + '<br><em>' + escape(event.talk.get_speakers_str()) + '</em>'
|
||||||
if self.staff:
|
if self.staff:
|
||||||
tags = event.talk.staff_tags
|
tags = event.talk.staff_tags
|
||||||
|
|
Loading…
Reference in New Issue