Show More
@@ -662,11 +662,12 b' def bookmarks(web):' | |||||
662 | latestrev = i[0][1] |
|
662 | latestrev = i[0][1] | |
663 | else: |
|
663 | else: | |
664 | latestrev = -1 |
|
664 | latestrev = -1 | |
|
665 | lastdate = web.repo[latestrev].date() | |||
665 |
|
666 | |||
666 | return web.sendtemplate( |
|
667 | return web.sendtemplate( | |
667 | 'bookmarks', |
|
668 | 'bookmarks', | |
668 | node=hex(web.repo.changelog.tip()), |
|
669 | node=hex(web.repo.changelog.tip()), | |
669 |
lastchange=[{'date': |
|
670 | lastchange=templateutil.mappinglist([{'date': lastdate}]), | |
670 | entries=templateutil.mappinggenerator(entries, args=(False,)), |
|
671 | entries=templateutil.mappinggenerator(entries, args=(False,)), | |
671 | latestentry=templateutil.mappinggenerator(entries, args=(True,))) |
|
672 | latestentry=templateutil.mappinggenerator(entries, args=(True,))) | |
672 |
|
673 |
General Comments 0
You need to be logged in to leave comments.
Login now