templates/changelogentry.tmpl
author Josef "Jeff" Sipek <jeffpc@josefsipek.net>
Sat, 07 Oct 2006 15:16:47 -0400
changeset 3291 0b5d626b354e
parent 3273 46188b9528ca
child 3363 ce8f31e0b3b8
permissions -rw-r--r--
[patchbomb] prepend leading zeros in the "[PATCH N of M]" string Without this patch, if one tries to send a patch bomb with more than 9 patches, the resulting subjects are not easily alphabetically sortable. For example: ... [PATCH 9 of 10] [PATCH 10 of 10] This patch prepends as many leading zeros as necessary. E.g., [PATCH 09 of 10] or [PATCH 009 of 100]

<table class="logEntry parity#parity#">
 <tr>
  <th class="age">#date|age# ago:</th>
  <th class="firstline">#desc|strip|firstline|escape#</th>
 </tr>
 <tr>
  <th class="revision">changeset #rev#:</th>
  <td class="node"><a href="#url#rev/#node|short#{getentries}">#node|short#</a></td>
 </tr>
 #parent%changelogparent#
 #child%changelogchild#
 #changelogtag#
 <tr>
  <th class="author">author:</th>
  <td class="author">#author|obfuscate#</td>
 </tr>
 <tr>
  <th class="date">date:</th>
  <td class="date">#date|date#</td>
 </tr>
 <tr>
  <th class="files"><a href="#url#file/#node|short#{getentries}">files</a>:</th>
  <td class="files">#files#</td>
 </tr>
</table>