# HG changeset patch # User Benoit Allard # Date 1227649870 -3600 # Node ID 7b2a77b20964217dffb1722cba6e39672c9e1075 # Parent ee8af8a4d905bba2f70089ea9b9d22fff2e7982b coal/paper: display branch names in log diff -r ee8af8a4d905 -r 7b2a77b20964 templates/coal/map --- a/templates/coal/map Tue Nov 25 17:54:49 2008 +0100 +++ b/templates/coal/map Tue Nov 25 22:51:10 2008 +0100 @@ -58,6 +58,8 @@ tagentry = '{tag|escape}{node|short}' changelogtag = '{name|escape} ' changesettag = '{tag|escape} ' +changelogbranchhead = '{name|escape} ' +changelogbranchname = '{name|escape} ' filediffparent = 'parent {rev}:{node|short}' filelogparent = 'parent {rev}:{node|short}' filediffchild = 'child {rev}:{node|short}' diff -r ee8af8a4d905 -r 7b2a77b20964 templates/coal/shortlogentry.tmpl --- a/templates/coal/shortlogentry.tmpl Tue Nov 25 17:54:49 2008 +0100 +++ b/templates/coal/shortlogentry.tmpl Tue Nov 25 22:51:10 2008 +0100 @@ -1,5 +1,5 @@ {date|age} {author|person} - {desc|strip|firstline|escape}{tags%changelogtag} + {desc|strip|firstline|escape}{inbranch%changelogbranchname}{branches%changelogbranchhead}{tags%changelogtag} diff -r ee8af8a4d905 -r 7b2a77b20964 templates/paper/map --- a/templates/paper/map Tue Nov 25 17:54:49 2008 +0100 +++ b/templates/paper/map Tue Nov 25 22:51:10 2008 +0100 @@ -56,9 +56,10 @@ fileannotatechild = 'child:{node|short}' tags = ../coal/tags.tmpl tagentry = '{tag|escape}{node|short}' -changelogtag = 'tag:{tag|escape}' changelogtag = '{name|escape} ' changesettag = '{tag|escape} ' +changelogbranchhead = '{name|escape} ' +changelogbranchname = '{name|escape} ' filediffparent = 'parent {rev}:{node|short}' filelogparent = 'parent {rev}:{node|short}' filediffchild = 'child {rev}:{node|short}' diff -r ee8af8a4d905 -r 7b2a77b20964 templates/static/style-coal.css --- a/templates/static/style-coal.css Tue Nov 25 17:54:49 2008 +0100 +++ b/templates/static/style-coal.css Tue Nov 25 22:51:10 2008 +0100 @@ -111,6 +111,22 @@ vertical-align: baseline; } +.branchhead { + color: #000; + font-size: 80%; + font-weight: normal; + margin-left: .5em; + vertical-align: baseline; +} + +.branchname { + color: #000; + font-size: 60%; + font-weight: normal; + margin-left: .5em; + vertical-align: baseline; +} + /* Common */ pre { margin: 0; } diff -r ee8af8a4d905 -r 7b2a77b20964 templates/static/style-paper.css --- a/templates/static/style-paper.css Tue Nov 25 17:54:49 2008 +0100 +++ b/templates/static/style-paper.css Tue Nov 25 22:51:10 2008 +0100 @@ -102,6 +102,22 @@ vertical-align: baseline; } +.branchhead { + color: #000; + font-size: 80%; + font-weight: normal; + margin-left: .5em; + vertical-align: baseline; +} + +.branchname { + color: #000; + font-size: 60%; + font-weight: normal; + margin-left: .5em; + vertical-align: baseline; +} + /* Common */ pre { margin: 0; } diff -r ee8af8a4d905 -r 7b2a77b20964 tests/test-hgweb-commands.out Binary file tests/test-hgweb-commands.out has changed