changeset 13865:e33ebe67657a stable

hgweb: add missing bookmarks definition to coal/map It shares most templates with paper style.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Apr 2011 23:47:17 +0900
parents fd8a6ca3a750
children 38906cf9d15c 0a0988bd4818 14c0988c314d
files mercurial/templates/coal/map
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/templates/coal/map	Sun Apr 03 23:47:05 2011 +0900
+++ b/mercurial/templates/coal/map	Sun Apr 03 23:47:17 2011 +0900
@@ -142,6 +142,18 @@
       {node|short}
     </td>
   </tr>'
+bookmarks = ../paper/bookmarks.tmpl
+bookmarkentry = '
+  <tr class="tagEntry parity{parity}">
+    <td>
+      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
+        {bookmark|escape}
+      </a>
+    </td>
+    <td class="node">
+      {node|short}
+    </td>
+  </tr>'
 branches = ../paper/branches.tmpl
 branchentry = '
   <tr class="tagEntry parity{parity}">
@@ -156,6 +168,7 @@
   </tr>'
 changelogtag = '<span class="tag">{name|escape}</span> '
 changesettag = '<span class="tag">{tag|escape}</span> '
+changesetbookmark = '<span class="tag">{bookmark|escape}</span> '
 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
 changelogbranchname = '<span class="branchname">{name|escape}</span> '