~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/revisionfilechanges.pt

  • Committer: Robey Pointer
  • Date: 2007-03-26 06:08:50 UTC
  • Revision ID: robey@lag.net-20070326060850-69b3yu2i6udttzjq
include more stuff in the manifest

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<tal:block>
2
 
  <tr tal:repeat="added entry/changes/added">
3
 
    <th class="files">
4
 
      <tal:block condition="repeat/added/start">
5
 
        files added:
6
 
      </tal:block>
7
 
    </th>
8
 
    <td class="files"
9
 
        tal:define="filename python:added[0];
10
 
                    file_id  python:added[1]">
11
 
      <a tal:attributes="href  python:url(['/annotate', entry.revid], file_id=file_id);
12
 
                         title string:Annotate ${filename}"
13
 
         tal:content="filename" class="filename">
14
 
        filename
15
 
      </a>
16
 
    </td>
17
 
  </tr>
18
 
  <tr tal:repeat="removed entry/changes/removed">
19
 
    <th class="files">
20
 
      <tal:block condition="repeat/removed/start">
21
 
        files removed:
22
 
      </tal:block>
23
 
    </th>
24
 
    <td class="files"
25
 
        tal:define="filename python:removed[0];
26
 
                    file_id  python:removed[1]">
27
 
      <tal:block content="filename" />
28
 
    </td>
29
 
  </tr>
30
 
  <tr tal:repeat="renamed entry/changes/renamed">
31
 
    <th class="files">
32
 
      <tal:block condition="repeat/renamed/start">
33
 
        files renamed:
34
 
      </tal:block>
35
 
    </th>
36
 
    <td class="files"
37
 
        tal:define="old_filename python:renamed[0];
38
 
                    new_filename python:renamed[1];
39
 
                    file_id      python:renamed[2]">
40
 
      <a tal:attributes="href  python:url(['/annotate', entry.revid], file_id=file_id);
41
 
                         title string:Annotate ${old_filename}"
42
 
         tal:content="old_filename" class="filename">
43
 
        old_filename
44
 
      </a>
45
 
      =>
46
 
      <a tal:attributes="href  python:url(['/annotate', entry.revid], file_id=file_id);
47
 
                         title string:Annotate ${new_filename}"
48
 
         tal:content="new_filename">
49
 
        new_filename
50
 
      </a>
51
 
    </td>
52
 
  </tr>
53
 
  <tr tal:repeat="item entry/changes/modified" class="filename">
54
 
    <th class="files">
55
 
      <tal:block condition="repeat/item/start">
56
 
        files modified:
57
 
      </tal:block>
58
 
    </th>
59
 
    <td class="files">
60
 
        <tal:b content="structure python:modified_file_link(url, entry, item)" />
61
 
    </td>
62
 
  </tr>
63
 
</tal:block>