comparison mercurial/templates/monoblue/filecomparison.tmpl @ 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
comparison
equal deleted inserted replaced
17301:2e8342aeab49 17302:5c64ce6168da
56 <span class="legendinfo insert">inserted</span> 56 <span class="legendinfo insert">inserted</span>
57 <span class="legendinfo replace">replaced</span> 57 <span class="legendinfo replace">replaced</span>
58 </div> 58 </div>
59 59
60 <div class="comparison"> 60 <div class="comparison">
61 {comparison} 61 <table class="bigtable">
62 <thead class="header">
63 <tr>
64 <th>{leftrev}:{leftnode|short}</th>
65 <th>{rightrev}:{rightnode|short}</th>
66 </tr>
67 </thead>
68 {comparison}
69 </table>
62 </div> 70 </div>
63 71
64 {footer} 72 {footer}