mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
hgweb: add base link to file log for paper and coal styles (issue2452)
This commit is contained in:
parent
5f24d65643
commit
fd940915e4
@ -94,14 +94,12 @@ filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%url
|
||||
|
||||
filerename = '{file|escape}@'
|
||||
filelogrename = '
|
||||
<tr>
|
||||
<th>base:</th>
|
||||
<td>
|
||||
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
|
||||
{file|escape}@{node|short}
|
||||
</a>
|
||||
</td>
|
||||
</tr>'
|
||||
<span class="base">
|
||||
base
|
||||
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
|
||||
{file|escape}@{node|short}
|
||||
</a>
|
||||
</span>'
|
||||
fileannotateparent = '
|
||||
<tr>
|
||||
<td class="metatag">parent:</td>
|
||||
|
@ -1,5 +1,5 @@
|
||||
<tr class="parity{parity}">
|
||||
<td class="age">{date|age}</td>
|
||||
<td class="author">{author|person}</td>
|
||||
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}</td>
|
||||
<td class="description"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{desc|strip|firstline|escape|nonempty}</a>{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename}</td>
|
||||
</tr>
|
||||
|
@ -93,14 +93,12 @@ filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%url
|
||||
|
||||
filerename = '{file|escape}@'
|
||||
filelogrename = '
|
||||
<tr>
|
||||
<th>base:</th>
|
||||
<td>
|
||||
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
|
||||
{file|escape}@{node|short}
|
||||
</a>
|
||||
</td>
|
||||
</tr>'
|
||||
<span class="base">
|
||||
base
|
||||
<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
|
||||
{file|escape}@{node|short}
|
||||
</a>
|
||||
</span>'
|
||||
fileannotateparent = '
|
||||
<tr>
|
||||
<td class="metatag">parent:</td>
|
||||
|
@ -173,6 +173,7 @@ h3 {
|
||||
.bigtable .age { width: 6em; }
|
||||
.bigtable .author { width: 12em; }
|
||||
.bigtable .description { }
|
||||
.bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
|
||||
.bigtable .node { width: 5em; font-family: monospace;}
|
||||
.bigtable .lineno { width: 2em; text-align: right;}
|
||||
.bigtable .lineno a { color: #999; font-size: smaller; font-family: monospace;}
|
||||
|
@ -164,6 +164,7 @@ h3 {
|
||||
.bigtable .age { width: 7em; }
|
||||
.bigtable .author { width: 12em; }
|
||||
.bigtable .description { }
|
||||
.bigtable .description .base { font-size: 70%; float: right; line-height: 1.66; }
|
||||
.bigtable .node { width: 5em; font-family: monospace;}
|
||||
.bigtable .permissions { width: 8em; text-align: left;}
|
||||
.bigtable .size { width: 5em; text-align: right; }
|
||||
|
Loading…
Reference in New Issue
Block a user