hgweb: add missing bookmarks definition to coal/map stable
authorYuya Nishihara <yuya@tcha.org>
Sun, 03 Apr 2011 23:47:17 +0900
branchstable
changeset 13865 e33ebe67657a
parent 13864 fd8a6ca3a750
child 13868 38906cf9d15c
child 13882 0a0988bd4818
child 13894 14c0988c314d
hgweb: add missing bookmarks definition to coal/map It shares most templates with paper style.
mercurial/templates/coal/map
--- 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> '