# HG changeset patch # User Anton Shestakov # Date 2015-07-13 05:13:17 # Node ID 777235417457827b48a5c39b1c7b0bf09be9ba72 # Parent a74e9806d17d777595f02bef912da25b876cb56f monoblue: show relative age of bookmarks In b24e5a708fad, age calculation was made dynamic (i.e. in javascript), but for some reason bookmarkentry template in monoblue/map got a wrong class. It resulted in /summary and /bookmarks pages always showing exact dates for bookmarks, no age calculation was performed. Let's fix this by using "age" class that is already used in branchentry and tagentry templates in the same map file. As usual, the exact date for such elements is still available in title attribute, so it shows in a tooltip on hover. diff --git a/mercurial/templates/monoblue/map b/mercurial/templates/monoblue/map --- a/mercurial/templates/monoblue/map +++ b/mercurial/templates/monoblue/map @@ -181,7 +181,7 @@ tagentry = ' bookmarks = bookmarks.tmpl bookmarkentry = ' - {date|rfc822date} + {date|rfc822date} {bookmark|escape} changeset |