mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
4ea3569fd2
Before this patch, each log entries in "changelog" and "revisions" pages of "spartan" style are not aligned by column, because: - each log entries are separated "<table>" entries, and - there are no fixed "width" information for each "<th>"/"<td>" entries This patch aligns entries in "changelog" and "revisions" pages of "spartan" style by: - adding 'label' class to '<th>' for 'age' information, and - setting 'width' of '<th class="label">' with fixed size 'class="age"' is not used for this purpose, because it is also used to set "bold" font-weight "16em" seems to be wide enough to show date information fully, when web browser disables (or doesn't support) javascript.
26 lines
760 B
Cheetah
26 lines
760 B
Cheetah
<table class="logEntry parity{parity}">
|
|
<tr>
|
|
<th class="label"><span class="age">{date|rfc822date}</span>:</th>
|
|
<th class="firstline">{desc|strip|firstline|escape|nonempty}</th>
|
|
</tr>
|
|
<tr>
|
|
<th class="revision">changeset {rev}:</th>
|
|
<td class="node"><a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{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|rfc822date}</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="files"><a href="{url|urlescape}file/{node|short}{sessionvars%urlparameter}">files</a>:</th>
|
|
<td class="files">{files}</td>
|
|
</tr>
|
|
</table>
|