mercurial/templates/paper/map
changeset 35065 a1de4ffaa7a8
parent 35064 9acc0360ff67
child 35089 69ea10d5b00c
--- a/mercurial/templates/paper/map	Wed Nov 15 23:55:09 2017 +0800
+++ b/mercurial/templates/paper/map	Thu Nov 16 22:21:03 2017 +0800
@@ -198,12 +198,13 @@
       </a>
     </td>
   </tr>'
+phasetag = '{ifeq(phase, 'public', '', '<span class="phase">{phase|escape}</span> ')}'
 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> '
-alltags = '{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}'
+alltags = '{phasetag}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{bookmarks%changelogtag}'
 
 filediffparent = '
   <tr>