Mercurial > hg
changeset 4703:bc63247c66e9
hgweb: improve shortlog formatting
shorten author with |person
don't shrink font (default font is presumed to be preferred reading size)
set widths based on font ems rather than page percents.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 25 Jun 2007 11:30:05 -0500 |
parents | 18e91c9def0c |
children | 9072fd94ab4e |
files | templates/shortlogentry.tmpl templates/static/style.css |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/shortlogentry.tmpl Mon Jun 25 01:26:44 2007 -0500 +++ b/templates/shortlogentry.tmpl Mon Jun 25 11:30:05 2007 -0500 @@ -1,7 +1,7 @@ <table class="slogEntry parity#parity#"> <tr> <td class="age">#date|age#</td> - <td class="author">#author|obfuscate#</td> + <td class="author">#author|person#</td> <td class="node"><a href="#url#rev/#node|short#{sessionvars%urlparameter}">#desc|strip|firstline|escape#</a></td> </tr> </table>
--- a/templates/static/style.css Mon Jun 25 01:26:44 2007 -0500 +++ b/templates/static/style.css Mon Jun 25 11:30:05 2007 -0500 @@ -58,10 +58,10 @@ .logEntry th.firstline { text-align: left; width: inherit; } /* Shortlog entries */ -.slogEntry { width: 100%; font-size: smaller; } -.slogEntry .age { width: 7%; } +.slogEntry { width: 100%; } +.slogEntry .age { width: 8em; } .slogEntry td { font-weight: normal; text-align: left; vertical-align: top; } -.slogEntry td.author { width: 35%; } +.slogEntry td.author { width: 15em; } /* Tag entries */ #tagEntries { list-style: none; margin: 0; padding: 0; }