~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/filediff.pt

  • Committer: Jelmer Vernooij
  • Date: 2008-08-05 22:54:10 UTC
  • mfrom: (200 trunk)
  • mto: (197.1.9 pathargs)
  • mto: This revision was merged to the branch mainline in revision 202.
  • Revision ID: jelmer@samba.org-20080805225410-gwf3mvqdb79ggz5m
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<div>
2
 
  <div class="pseudotable unified"
3
 
       tal:repeat="chunk chunks">
4
 
 
5
 
    <tal:block condition="not:repeat/chunk/start">
6
 
      <div class="pseudorow context-row">
7
 
        <div class="lineNumber separate"></div>
8
 
        <div class="lineNumber second separate"></div>
9
 
        <div class="code separate"></div>
10
 
        <div class="clear"><!-- --></div>
11
 
      </div>
12
 
    </tal:block>
13
 
 
14
 
    <div tal:repeat="line chunk/diff"
15
 
         tal:attributes="class string:pseudorow ${line/type}-row">
16
 
      <div class="lineNumber first"
17
 
           tal:content="structure python:util.fill_div(line.old_lineno)"></div>
18
 
      <div class="lineNumber second"
19
 
           tal:content="structure python:util.fill_div(line.new_lineno)"></div>
20
 
      <div tal:attributes="class string:code ${line/type}"
21
 
           tal:content="structure python:util.fill_div(util.html_clean(line.line))"></div>
22
 
      <div class="clear"><!-- --></div>
23
 
    </div>
24
 
  </div>
25
 
</div>