Mercurial > hg
comparison mercurial/templates/gitweb/map @ 35094:38fe3fe4bbb6
hgweb: show instabilities of a commit
In paper, coal, gitweb and monoblue a new "tag" (or multiple, if there are many
instabilities) is added to the same line that has phase, branch, etc of a
changeset; in gitweb and monoblue this element has a light red background, in
paper and coal the element is black and underlined. In spartan theme
instabilities are shown on a separate line.
While test-obsolete.t uses first(phasedivergent()) revset to pick a changeset
to test, that particular changeset is also an orphan, so two different
instability tags are displayed.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 19 Nov 2017 14:02:50 +0800 |
parents | 69ea10d5b00c |
children | f38c91c74294 |
comparison
equal
deleted
inserted
replaced
35093:bd2743936b56 | 35094:38fe3fe4bbb6 |
---|---|
262 </tr>' | 262 </tr>' |
263 shortlog = shortlog.tmpl | 263 shortlog = shortlog.tmpl |
264 graph = graph.tmpl | 264 graph = graph.tmpl |
265 phasetag = '{ifeq(phase, 'public', '', '<span class="phasetag" title="{phase|escape}">{phase|escape}</span> ')}' | 265 phasetag = '{ifeq(phase, 'public', '', '<span class="phasetag" title="{phase|escape}">{phase|escape}</span> ')}' |
266 obsoletetag = '{if(obsolete, '<span class="obsoletetag" title="obsolete">obsolete</span> ')}' | 266 obsoletetag = '{if(obsolete, '<span class="obsoletetag" title="obsolete">obsolete</span> ')}' |
267 instabilitytag = '<span class="instabilitytag" title="{name|escape}">{name|escape}</span> ' | |
267 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> ' | 268 tagtag = '<span class="tagtag" title="{name|escape}">{name|escape}</span> ' |
268 branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> ' | 269 branchtag = '<span class="branchtag" title="{name|escape}">{name|escape}</span> ' |
269 inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' | 270 inbranchtag = '<span class="inbranchtag" title="{name|escape}">{name|escape}</span> ' |
270 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' | 271 bookmarktag = '<span class="bookmarktag" title="{name|escape}">{name|escape}</span> ' |
271 alltags = '<span class="logtags">{phasetag}{obsoletetag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>' | 272 alltags = '<span class="logtags">{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>' |
272 shortlogentry = ' | 273 shortlogentry = ' |
273 <tr class="parity{parity}"> | 274 <tr class="parity{parity}"> |
274 <td class="age"><i class="age">{date|rfc822date}</i></td> | 275 <td class="age"><i class="age">{date|rfc822date}</i></td> |
275 <td><i>{author|person}</i></td> | 276 <td><i>{author|person}</i></td> |
276 <td> | 277 <td> |