~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/filediff.pt

  • Committer: Michael Hudson
  • Date: 2009-03-01 17:47:52 UTC
  • mfrom: (283.1.1 bug-329668)
  • Revision ID: michael.hudson@canonical.com-20090301174752-vpp55v8c3fwyjwmc
fix bug #329668 ("Inventory page uses "//" in links")

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>