fix #8 - displayed milestones becomes links to a trac query

This commit is contained in:
Theodor Norup 2016-12-16 21:01:33 +01:00
parent da114f71af
commit 2e15d31a30
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[egg_info]
tag_build =
tag_build = Develop
tag_date = False
[extract_messages]

View file

@ -206,6 +206,10 @@ class SubTicketsModule(Component):
href = req.href.query(status='!closed',
owner=ticket['owner'])
e = tag.td(tag.a(ticket['owner'], href=href))
elif column == 'milestone':
href = req.href.query(status='!closed',
milestone=ticket['milestone'])
e = tag.td(tag.a(ticket['milestone'], href=href))
else:
e = tag.td(ticket[column])