# HG changeset patch # User Paul Boddie # Date 1298741183 -3600 # Node ID 925d89f7f113c58a70df028b37be15fa768ae780 # Parent 684a640b60a64b4ce6fdc175b0548fc4e8aeabfb Tidied up the presentation of changelog entries and changesets, making full commit messages preformatted text, and confining file lists to the commit message column. Added file diffs to search result entries. diff -r 684a640b60a6 -r 925d89f7f113 themes/mercurialweb/changelogentry.tmpl --- a/themes/mercurialweb/changelogentry.tmpl Sat Feb 26 02:00:27 2011 +0100 +++ b/themes/mercurialweb/changelogentry.tmpl Sat Feb 26 18:26:23 2011 +0100 @@ -1,11 +1,11 @@ - + {rev}:{node|short} {child%changeloglink} {parent%changeloglink} - + {date|age} {author|person|xmlescape} @@ -16,8 +16,10 @@ {desc|strip|escape} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag} - - + + + {files} + diff -r 684a640b60a6 -r 925d89f7f113 themes/mercurialweb/changeset.tmpl --- a/themes/mercurialweb/changeset.tmpl Sat Feb 26 02:00:27 2011 +0100 +++ b/themes/mercurialweb/changeset.tmpl Sat Feb 26 18:26:23 2011 +0100 @@ -43,11 +43,13 @@ shortlog changelog - {desc|strip|escape} + {desc|strip|escape} {branches%branchtag}{inbranch%inbranchtag}{tags%tagtag} - {files} + + {files} + diff -r 684a640b60a6 -r 925d89f7f113 themes/mercurialweb/searchentry.tmpl --- a/themes/mercurialweb/searchentry.tmpl Sat Feb 26 02:00:27 2011 +0100 +++ b/themes/mercurialweb/searchentry.tmpl Sat Feb 26 18:26:23 2011 +0100 @@ -1,6 +1,14 @@ {date|age} {author|person|xmlescape} - {desc|strip|firstline|escape} - files + + files + shortlog + changelog + + {desc|strip|firstline|escape} + + + {files} + diff -r 684a640b60a6 -r 925d89f7f113 themes/mercurialweb/static/style-mercurialweb.css --- a/themes/mercurialweb/static/style-mercurialweb.css Sat Feb 26 02:00:27 2011 +0100 +++ b/themes/mercurialweb/static/style-mercurialweb.css Sat Feb 26 18:26:23 2011 +0100 @@ -320,7 +320,7 @@ /* Changeset and changelog presentation. */ -.changelogfiles { +.changelogfiles, .searchentryfiles { border-bottom: 1px solid #ccc; } @@ -340,6 +340,11 @@ display: block; } +.description { + font-family: monospace; + white-space: pre; +} + /* Position changeset labels at a fixed distance from the left margin. */ .changesetparentlinks, @@ -364,6 +369,10 @@ margin-left: 1em; } +.files { + font-size: smaller; +} + .files span:before { content: '| '; }