# HG changeset patch # User Kevin Gessner # Date 1301600993 14400 # Node ID 1209e1d52b6866fa693642869cb9c1786b62aeb5 # Parent 9f97de157aaded83cee36b3d97f51ba5f5c76e10 hgweb: add base link to file log for paper and coal styles (issue2452) diff -r 9f97de157aad -r 1209e1d52b68 mercurial/templates/coal/map --- a/mercurial/templates/coal/map Wed Jan 05 00:18:36 2011 +1100 +++ b/mercurial/templates/coal/map Thu Mar 31 15:49:53 2011 -0400 @@ -94,14 +94,12 @@ filerename = '{file|escape}@' filelogrename = ' - - base: - - - {file|escape}@{node|short} - - - ' + + base + + {file|escape}@{node|short} + + ' fileannotateparent = ' parent: diff -r 9f97de157aad -r 1209e1d52b68 mercurial/templates/paper/filelogentry.tmpl --- a/mercurial/templates/paper/filelogentry.tmpl Wed Jan 05 00:18:36 2011 +1100 +++ b/mercurial/templates/paper/filelogentry.tmpl Thu Mar 31 15:49:53 2011 -0400 @@ -1,5 +1,5 @@ {date|age} {author|person} - {desc|strip|firstline|escape|nonempty}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag} + {desc|strip|firstline|escape|nonempty}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag}{rename%filelogrename} diff -r 9f97de157aad -r 1209e1d52b68 mercurial/templates/paper/map --- a/mercurial/templates/paper/map Wed Jan 05 00:18:36 2011 +1100 +++ b/mercurial/templates/paper/map Thu Mar 31 15:49:53 2011 -0400 @@ -93,14 +93,12 @@ filerename = '{file|escape}@' filelogrename = ' - - base: - - - {file|escape}@{node|short} - - - ' + + base + + {file|escape}@{node|short} + + ' fileannotateparent = ' parent: diff -r 9f97de157aad -r 1209e1d52b68 mercurial/templates/static/style-coal.css --- a/mercurial/templates/static/style-coal.css Wed Jan 05 00:18:36 2011 +1100 +++ b/mercurial/templates/static/style-coal.css Thu Mar 31 15:49:53 2011 -0400 @@ -173,6 +173,7 @@ .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;} diff -r 9f97de157aad -r 1209e1d52b68 mercurial/templates/static/style-paper.css --- a/mercurial/templates/static/style-paper.css Wed Jan 05 00:18:36 2011 +1100 +++ b/mercurial/templates/static/style-paper.css Thu Mar 31 15:49:53 2011 -0400 @@ -164,6 +164,7 @@ .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; }