2
<ul tal:repeat="added file_changes/added">
3
<tal:block condition="repeat/added/start">
4
<li class="desc">files added:</li>
7
<tal:revision condition="python:added.kind == 'file'"
8
content="structure python:file_link(added.filename)" />
9
<tal:revision condition="python:added.kind != 'file'"
10
content="added/filename" />
14
<ul tal:repeat="removed file_changes/removed">
15
<tal:block condition="repeat/removed/start">
16
<li class="desc">files removed:</li>
19
<tal:revision condition="python:removed.kind == 'file'"
20
content="structure python:file_link(removed.filename)" />
21
<tal:revision condition="python:removed.kind != 'file'"
22
content="removed/filename" />
26
<ul tal:repeat="renamed file_changes/renamed">
27
<tal:block condition="repeat/renamed/start">
28
<li class="desc">files renamed:</li>
31
<tal:old-name content="renamed/old_filename" class="filename">
35
<tal:revision condition="renamed/text_modified" content="structure python:file_link(renamed.new_filename)" />
36
<tal:old-name condition="not:renamed/text_modified" content="renamed/new_filename" class="filename">
42
<ul tal:repeat="item file_changes/modified">
43
<tal:block condition="repeat/item/start">
44
<li class="desc">files modified:</li>
47
<tal:revision content="structure python:file_link(item.filename)" />