# HG changeset patch # User Yuya Nishihara <yuya@tcha.org> # Date 1301842037 -32400 # Sun Apr 03 23:47:17 2011 +0900 # Branch stable # Node ID e33ebe67657a481fd0c0f53ea929aa41925fd972 # Parent fd8a6ca3a7502313bb7b172f6cb4b3764265bedb hgweb: add missing bookmarks definition to coal/map It shares most templates with paper style. diff --git a/mercurial/templates/coal/map b/mercurial/templates/coal/map --- a/mercurial/templates/coal/map +++ b/mercurial/templates/coal/map @@ -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> '