diff mercurial/templates/gitweb/map @ 13864:fd8a6ca3a750 stable

hgweb: add separate bookmarks listing to gitweb theme (based on 38c9837b1f75)
author Yuya Nishihara <yuya@tcha.org>
date Sun, 03 Apr 2011 23:47:05 +0900
parents b602ac02f1ba
children b24e5a708fad
line wrap: on
line diff
--- a/mercurial/templates/gitweb/map	Sun Apr 03 23:44:28 2011 +0900
+++ b/mercurial/templates/gitweb/map	Sun Apr 03 23:47:05 2011 +0900
@@ -170,6 +170,17 @@
       <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
     </td>
   </tr>'
+bookmarks = bookmarks.tmpl
+bookmarkentry = '
+  <tr class="parity{parity}">
+    <td class="age"><i>{date|age}</i></td>
+    <td><a class="list" href="{url}rev/{node|short}{sessionvars%urlparameter}"><b>{bookmark|escape}</b></a></td>
+    <td class="link">
+      <a href="{url}rev/{node|short}{sessionvars%urlparameter}">changeset</a> |
+      <a href="{url}log/{node|short}{sessionvars%urlparameter}">changelog</a> |
+      <a href="{url}file/{node|short}{sessionvars%urlparameter}">files</a>
+    </td>
+  </tr>'
 branches = branches.tmpl
 branchentry = '
   <tr class="parity{parity}">