Mon Oct 31 00:11:03 UTC 2005 Alberto Bertogli * Simplify the "Verbose Annotate Sidebar" patch. This patch makes it simpler, because it skips displaying the full author name and how long ago the changes were made; besides some simple fixes. The rationale behind this is purely aesthetic: the author is already available in the tooltip (and you should be able to tell anyway by its nickname), and the "how long ago" was a bit distracting. All this is completely subjective, I know, but I think these are "safe" settings. diff -rN -u old-darcsweb/darcsweb.cgi new-darcsweb/darcsweb.cgi --- old-darcsweb/darcsweb.cgi 2013-07-03 16:37:19.000000000 +0000 +++ new-darcsweb/darcsweb.cgi 2013-07-03 16:37:19.000000000 +0000 @@ -1069,22 +1069,14 @@ prevhash = l.phash line = 1 else: - 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" % "" + if line == 1 and style in ["shade", "zebra"]: + t = "%s " % time.strftime("%H:%M:%S", l.pdate) + desc = "%12.12s" % "'" + date = "%-10.10s" % t else: desc = "%12.12s" % "'" date = "%-10.10s" % "" + line += 1 print """\
\