diff mercurial/templates/spartan/changeset.tmpl @ 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 1721ce06100a
line wrap: on
line diff
--- a/mercurial/templates/spartan/changeset.tmpl	Thu Nov 23 14:13:14 2017 -0800
+++ b/mercurial/templates/spartan/changeset.tmpl	Sun Nov 26 13:29:18 2017 +0800
@@ -43,7 +43,7 @@
 </tr>')}
 {ifeq(count(instabilities), '0', '', '<tr>
  <th class="instabilities">instabilities:</th>
- <td class="instabilities">{instabilities%"{name} "|escape}</td>
+ <td class="instabilities">{instabilities%"{instability} "|escape}</td>
 </tr>')}
 <tr>
  <th class="files">files:</th>