comparison templates/paper/map @ 8486:835b1ee111f4

coal, paper: add newlines when displaying a file in hgweb The newlines make the HTML somewhat readable and gives much smaller, readable diffs when the tests change.
author Martin Geisler <mg@lazybytes.net>
date Sun, 17 May 2009 22:51:50 +0200
parents 783c8c78db86
children de6bb29e208a
comparison
equal deleted inserted replaced
8485:0b93eff3721d 8486:835b1ee111f4
50 50
51 filerevision = filerevision.tmpl 51 filerevision = filerevision.tmpl
52 fileannotate = fileannotate.tmpl 52 fileannotate = fileannotate.tmpl
53 filediff = filediff.tmpl 53 filediff = filediff.tmpl
54 filelog = filelog.tmpl 54 filelog = filelog.tmpl
55 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>' 55 fileline = '
56 <div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
56 filelogentry = filelogentry.tmpl 57 filelogentry = filelogentry.tmpl
57 58
58 annotateline = ' 59 annotateline = '
59 <tr class="parity{parity}"> 60 <tr class="parity{parity}">
60 <td class="annotate"> 61 <td class="annotate">