diff mercurial/templates/paper/map @ 35131:f38c91c74294

hgweb: rename the main attribute of instabilities Let's make "instabilities" list contain items with "instability" key as opposed to "name" key. This way it's more explicit and more consistent with the log command-line template.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 26 Nov 2017 13:29:18 +0800
parents 38fe3fe4bbb6
children 5857eb81c1f3
line wrap: on
line diff
--- a/mercurial/templates/paper/map	Thu Nov 23 14:13:14 2017 -0800
+++ b/mercurial/templates/paper/map	Sun Nov 26 13:29:18 2017 +0800
@@ -200,7 +200,7 @@
   </tr>'
 phasetag = '{ifeq(phase, 'public', '', '<span class="phase">{phase|escape}</span> ')}'
 obsoletetag = '{if(obsolete, '<span class="obsolete">obsolete</span> ')}'
-instabilitytag = '<span class="instability">{name|escape}</span> '
+instabilitytag = '<span class="instability">{instability|escape}</span> '
 changelogtag = '<span class="tag">{name|escape}</span> '
 changesettag = '<span class="tag">{tag|escape}</span> '
 changesetbookmark = '<span class="tag">{bookmark|escape}</span> '