comparison tests/test-hgweb-descend-empties.t @ 35065:a1de4ffaa7a8

hgweb: show commit phase if it's not public In spartan theme phase is shown on its own table row, because there's no single line of "tags". Everywhere else phase is prepended to the list of "tags" of a changeset. Its element has a purple-ish color in gitweb and monoblue, and a dotted line under it and no color in paper and coal (as these themes are frugal with colors). This patch intentionally doesn't touch graph, because it needs a rewrite. I'll get to it pretty soon and in the process will add phase and everything that's still coming (e.g. obsolescence and instabilities). .. feature:: hgweb now displays phases of non-public changesets
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 16 Nov 2017 22:21:03 +0800
parents 9acc0360ff67
children 45765264ae3a
comparison
equal deleted inserted replaced
35064:9acc0360ff67 35065:a1de4ffaa7a8
71 71
72 <div class="main"> 72 <div class="main">
73 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 73 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
74 <h3> 74 <h3>
75 directory / @ 0:<a href="/rev/c9f45f7a1659">c9f45f7a1659</a> 75 directory / @ 0:<a href="/rev/c9f45f7a1659">c9f45f7a1659</a>
76 <span class="branchhead">default</span> <span class="tag">tip</span> 76 <span class="phase">draft</span> <span class="branchhead">default</span> <span class="tag">tip</span>
77 </h3> 77 </h3>
78 78
79 79
80 <form class="search" action="/log"> 80 <form class="search" action="/log">
81 81
191 191
192 <div class="main"> 192 <div class="main">
193 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2> 193 <h2 class="breadcrumb"><a href="/">Mercurial</a> </h2>
194 <h3> 194 <h3>
195 directory / @ 0:<a href="/rev/c9f45f7a1659?style=coal">c9f45f7a1659</a> 195 directory / @ 0:<a href="/rev/c9f45f7a1659?style=coal">c9f45f7a1659</a>
196 <span class="branchhead">default</span> <span class="tag">tip</span> 196 <span class="phase">draft</span> <span class="branchhead">default</span> <span class="tag">tip</span>
197 </h3> 197 </h3>
198 198
199 199
200 <form class="search" action="/log"> 200 <form class="search" action="/log">
201 <input type="hidden" name="style" value="coal" /> 201 <input type="hidden" name="style" value="coal" />
315 <li><a href="/rev/tip?style=monoblue">changeset</a></li> 315 <li><a href="/rev/tip?style=monoblue">changeset</a></li>
316 316
317 </ul> 317 </ul>
318 318
319 <h2 class="no-link no-border">files</h2> 319 <h2 class="no-link no-border">files</h2>
320 <p class="files">/ <span class="logtags"><span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></p> 320 <p class="files">/ <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></p>
321 321
322 <table> 322 <table>
323 <tr class="parity0"> 323 <tr class="parity0">
324 <td>drwxr-xr-x</td> 324 <td>drwxr-xr-x</td>
325 <td></td> 325 <td></td>
429 number or hash, or <a href="/help/revsets">revset expression</a>.</div> 429 number or hash, or <a href="/help/revsets">revset expression</a>.</div>
430 </form> 430 </form>
431 </div> 431 </div>
432 </div> 432 </div>
433 433
434 <div class="title">/ <span class="logtags"><span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></div> 434 <div class="title">/ <span class="logtags"><span class="phasetag" title="draft">draft</span> <span class="branchtag" title="default">default</span> <span class="tagtag" title="tip">tip</span> </span></div>
435 <table cellspacing="0"> 435 <table cellspacing="0">
436 <tr class="parity0"> 436 <tr class="parity0">
437 <td style="font-family:monospace">drwxr-xr-x</td> 437 <td style="font-family:monospace">drwxr-xr-x</td>
438 <td style="font-family:monospace"></td> 438 <td style="font-family:monospace"></td>
439 <td style="font-family:monospace"></td> 439 <td style="font-family:monospace"></td>