Thu Sep 29 22:09:49 UTC 2005 Max Battcher * Verbose Annotate Sidebar In shade or zebra annotate modes, this patch displays a second and third line of information in a contiguous single patch code block. :First Line: ``DATE AUTHOR_SHORT_NAME`` (Same as before) :Second Line: ``TIME RELATIVE_TIME`` :Third Line: ``FULL_AUTHOR_EMAIL`` All following lines in the code block are blank. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2015-10-21 23:14:15.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2015-10-21 23:14:15.000000000 +0000 @@ -1064,12 +1064,27 @@ else: shortau = l.pauthor - desc = "%12.12s" % escape(shortau) + desc = "%12.12s" % shortau date = "%-10.10s" % pdate prevhash = l.phash + line = 1 else: - desc = "%12.12s" % "'" - date = "%-10.10s" % "" + if (style == "shade" or style == "zebra") and line == 1: + ptime = " " + time.strftime("%H:%M:%S", l.pdate) + newblock = False + desc = "%12.12s" % how_old(time.mktime(l.pdate)) + date = "%-10.10s" % ptime + line = 2 + elif line == 2: + desc = "%22.22s" % l.pauthor + date = "" + line = 3 + elif line == 3: + desc = "%12.12s" % "" + date = "%-10.10s" % "" + else: + desc = "%12.12s" % "'" + date = "%-10.10s" % "" print """\
\ @@ -1081,7 +1096,7 @@ 'class': lineclass, 'style': linestyle, 'date': date, - 'desc': desc, + 'desc': escape(desc), 'c': count, 'text': text, 'title': title,