##// END OF EJS Templates
gitweb: fix last change field in summary
Brendan Cully -
r3355:c10eacad default
parent child Browse files
Show More
@@ -538,10 +538,10 b' class hgweb(object):'
538 owner = (self.repo.ui.config("ui", "username") or # preferred
538 owner = (self.repo.ui.config("ui", "username") or # preferred
539 self.repo.ui.config("web", "contact") or # deprecated
539 self.repo.ui.config("web", "contact") or # deprecated
540 self.repo.ui.config("web", "author", "unknown")), # also
540 self.repo.ui.config("web", "author", "unknown")), # also
541 lastchange = (0, 0), # FIXME
541 lastchange = cl.read(cl.tip())[2],
542 tags = tagentries,
542 tags = tagentries,
543 shortlog = changelist,
543 shortlog = changelist,
544 node = hex(self.repo.changelog.tip()),
544 node = hex(cl.tip()),
545 archives=self.archivelist("tip"))
545 archives=self.archivelist("tip"))
546
546
547 def filediff(self, fctx):
547 def filediff(self, fctx):
@@ -21,7 +21,7 b' summary |'
21 <table cellspacing="0">
21 <table cellspacing="0">
22 <tr><td>description</td><td>#desc#</td></tr>
22 <tr><td>description</td><td>#desc#</td></tr>
23 <tr><td>owner</td><td>#owner|escape#</td></tr>
23 <tr><td>owner</td><td>#owner|escape#</td></tr>
24 <!-- <tr><td>last change</td><td>#lastchange|rfc822date#</td></tr> -->
24 <tr><td>last change</td><td>#lastchange|rfc822date#</td></tr>
25 </table>
25 </table>
26
26
27 <div><a class="title" href="{url}log{getentries}">changes</a></div>
27 <div><a class="title" href="{url}log{getentries}">changes</a></div>
General Comments 0
You need to be logged in to leave comments. Login now