Mercurial > hg
diff mercurial/templates/coal/map @ 17302:5c64ce6168da stable
hgweb: fixes traceback for invalid files by removing top-level template
The top-level 'comparison' template was not really needed, and it also caused a
traceback to be shown for inexistent files (as reported by Ross Lagerwall).
Getting rid of it makes the overall templating structure simpler and causes
invalid files to be handled nicely.
author | wujek srujek <wujek.srujek@googlemail.com> |
---|---|
date | Tue, 31 Jul 2012 14:14:15 +0200 |
parents | 1ae119269ddc |
children | bebb05a7e249 |
line wrap: on
line diff
--- a/mercurial/templates/coal/map Mon Jul 30 22:33:45 2012 -0500 +++ b/mercurial/templates/coal/map Tue Jul 31 14:14:15 2012 +0200 @@ -84,16 +84,6 @@ difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>' diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}' -comparison = ' - <table class="bigtable"> - <thead class="header"> - <tr> - <th>{leftrev}:{leftnode|short}</th> - <th>{rightrev}:{rightnode|short}</th> - </tr> - </thead> - {blocks} - </table>' comparisonblock =' <tbody class="block"> {lines}