# HG changeset patch # User Thomas Arendsen Hein # Date 1146024762 -7200 # Node ID 90ee844b9f7125f11c7edf29dacb6b9ad7df1dd2 # Parent e5f5c21f4169b6a6575a33edd621fc29d09b97a7 hgweb templates: Don't word wrap "foo bar ago" (e.g. "3 months\nago") This made log entries or hgwebdir index look ugly with certain browser widths. diff -r e5f5c21f4169 -r 90ee844b9f71 templates/filelogentry.tmpl --- a/templates/filelogentry.tmpl Tue Apr 25 23:28:40 2006 +0200 +++ b/templates/filelogentry.tmpl Wed Apr 26 06:12:42 2006 +0200 @@ -1,6 +1,6 @@ - + diff -r e5f5c21f4169 -r 90ee844b9f71 templates/map --- a/templates/map Tue Apr 25 23:28:40 2006 +0200 +++ b/templates/map Wed Apr 26 06:12:42 2006 +0200 @@ -43,7 +43,7 @@ filelogparent = '' filediffchild = '' filelogchild = '' -indexentry = '' +indexentry = '' index = index.tmpl archiveentry = '#type|escape# ' notfound = notfound.tmpl diff -r e5f5c21f4169 -r 90ee844b9f71 templates/map-gitweb --- a/templates/map-gitweb Tue Apr 25 23:28:40 2006 +0200 +++ b/templates/map-gitweb Wed Apr 26 06:12:42 2006 +0200 @@ -36,7 +36,7 @@ filerevchild = '' fileannotatechild = '' tags = tags-gitweb.tmpl -tagentry = '' +tagentry = '' diffblock = '#lines#' changelogtag = '' changesettag = '' @@ -45,6 +45,6 @@ filediffchild = '' filelogchild = '' shortlog = shortlog-gitweb.tmpl -shortlogentry = '' -filelogentry = '' +shortlogentry = '' +filelogentry = '' archiveentry = ' | #type|escape# ' diff -r e5f5c21f4169 -r 90ee844b9f71 templates/static/style-gitweb.css --- a/templates/static/style-gitweb.css Tue Apr 25 23:28:40 2006 +0200 +++ b/templates/static/style-gitweb.css Wed Apr 26 06:12:42 2006 +0200 @@ -17,6 +17,7 @@ a.title:hover { background-color: #d9d8d1; } div.title_text { padding:6px 0px; border: solid #d9d8d1; border-width:0px 0px 1px; } div.log_body { padding:8px 8px 8px 150px; } +.age { white-space:nowrap; } span.age { position:relative; float:left; width:142px; font-style:italic; } div.log_link { padding:0px 8px; diff -r e5f5c21f4169 -r 90ee844b9f71 templates/static/style.css --- a/templates/static/style.css Tue Apr 25 23:28:40 2006 +0200 +++ b/templates/static/style.css Wed Apr 26 06:12:42 2006 +0200 @@ -1,4 +1,5 @@ a { text-decoration:none; } +.age { white-space:nowrap; } .parity0 { background-color: #dddddd; } .parity1 { background-color: #eeeeee; } .lineno { width: 60px; color: #aaaaaa; font-size: smaller;
#date|age# ago: #date|age# ago:  #desc|strip|firstline|escape#
revision #filerev#: 
parent #rev#: #node|short#
child #rev#:#node|short#
child #rev#: #node|short#
#name|escape##shortdesc##contact|obfuscate##lastupdate|age# agoRSS
#name|escape##shortdesc##contact|obfuscate##lastupdate|age# agoRSS
child:#node|short#
child:#node|short#
#date|age# ago#tag|escape#
#date|age# ago#tag|escape#
tag:#tag|escape#
tag#tag|escape#
child #rev#:#node|short#
child #rev#: #node|short#
#date|age# ago#author##desc|firstline|escape#
#date|age# ago#desc|firstline|escape#
#date|age# ago#author##desc|firstline|escape#
#date|age# ago#desc|firstline|escape#