2
2
<html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="macros/main">
4
4
<title metal:fill-slot="title"
5
tal:content="string:${branch/friendly_name} : files for revision ${change/revno}">
6
${branch.friendly_name} : files for revision ${change.revno}
5
tal:content="string:${branch/friendly_name} : files for revision ${change/revno}"></title>
6
<metal:block fill-slot="header_extras">
7
<link rel="stylesheet" type="text/css" media="all"
8
tal:attributes="href python:branch.static_url('/static/css/files.css')"/>
11
<h1 metal:fill-slot="heading">
12
<span class="branch-name" tal:content="branch/friendly_name">
13
${branch.friendly_name}
16
<tal:revno content="change/revno">
12
<tal:block metal:fill-slot="backlink">
13
<tal:has-link condition="branch/branch_link">
14
<div class="black-link">
15
<a tal:attributes="href branch/branch_link">
16
← Back to branch summary
21
<tal:block metal:fill-slot="branchname" tal:content="string:${branch/friendly_name}" />
22
<tal:block metal:fill-slot="heading">
23
<div id="breadcrumbs">
24
<tal:has-link condition="branch/branch_link">
25
<a tal:attributes="href branch/branch_link"
26
tal:content="branch/friendly_name">
30
<tal:no-link condition="not: branch/branch_link">
31
<span metal:use-macro="breadcrumbs/directory"></span>
33
<span>: <span metal:use-macro="breadcrumbs/branch" /> (revision <tal:revno content="change/revno"></tal:revno>)</span>
21
37
<div metal:fill-slot="content">
23
<div> <b>→</b> <a tal:attributes="href python:url(['/revision', change.revno], clear=1, start_revid=change.revno)">
26
<div> <b>→</b> <a tal:attributes="href python:url(['/changes', change.revno], clear=1, start_revid=change.revno)">
27
view branch changes </a>
31
<tal:revision-info replace="structure python:revisioninfo(url, branch, change)" />
33
<div class="inventory-path">
34
<b>folder:</b> <span class="folder" tal:content="path"> ${path} </span>
37
<table class="inventory" width="100%">
39
<th class="permissions">
43
<a tal:attributes="href python:url(['/files', revid], sort='filename')">Filename</a>
49
<a tal:attributes="href python:url(['/files', revid], sort='date')">Last Changed</a>
52
<a tal:attributes="href python:url(['/files', revid], sort='size')">Size</a>
60
<tr class="parity1" tal:condition="python:updir">
61
<td class="permissions">drwxr-xr-x</td>
62
<td class="filename directory">
63
<a tal:attributes="href python:url(['/files', revid], file_id=updir_file_id)">
77
<tr tal:repeat="file filelist"
78
tal:attributes="class string:parity${file/parity}">
79
<td class="permissions" tal:content="python:util.fake_permissions(file.kind, file.executable)">
82
<td tal:attributes="class string:filename ${file/kind}">
83
<a tal:condition="python:file.kind=='directory'"
84
tal:attributes="href python:url(['/files', change.revno], file_id=file.file_id)"
85
tal:content="string:${file/filename}/">
88
<span tal:condition="python:file.kind=='symlink'"
89
tal:content="string:${file/filename}@">
92
<a tal:condition="python:file.kind=='file'"
93
tal:attributes="href python:url(['/annotate', change.revno], file_id=file.file_id);
94
title string:Annotate ${file/filename}"
95
tal:content="string:${file/filename}">
100
<a tal:attributes="href python:url(['/revision', file.change.revno], filter_file_id=file.file_id);
101
title string:Show revision ${file/change/revno}"
102
tal:content="python:util.trunc(file.change.revno, 15)">
107
tal:content="python:util.date_time(file.change.date)">
111
<span tal:condition="python:file.kind=='file'"
112
tal:content="python:util.human_size(file.size)">
113
${util.human_size(file.size)}
116
<td class="changes-link">
117
<a tal:attributes="href python:url(['/changes'], start_revid=start_revid, filter_file_id=file.file_id);
118
title string:Changes affecting ${file/filename}">
122
<td class="download-link">
123
<a tal:condition="python:file.kind=='file'"
124
tal:attributes="href python:url(['/download', file.revid, file.file_id, file.filename]);
125
title string:Download ${file/filename} at revision ${file/change/revno}">
38
<tal:branch-info replace="structure python:branchinfo(branch)" />
40
<p tal:condition="python:not change">
43
<p tal:condition="python:change">
46
<a tal:attributes="href python:url(['/revision', change.revno], clear=1, start_revid=change.revno)">view revision</a>
49
<a tal:attributes="href python:url(['/changes', change.revno], clear=1, start_revid=change.revno)">view branch changes</a>
53
<tal:revision-info replace="structure python:revisioninfo(url, branch, change)" />
55
<table id="logentries">
56
<tr class="logheader">
57
<th class="summarycell"><a tal:attributes="href python:url(['/files', revid], sort='filename')">Filename</a></th>
58
<th class="datecell">Latest Rev</th>
59
<th class="datecell"><a tal:attributes="href python:url(['/files', revid], sort='date')">Last Changed</a></th>
60
<th class="timedate"><a tal:attributes="href python:url(['/files', revid], sort='size')">Size</a></th>
61
<th class="expandcell"></th>
62
<th class="expandcell"></th>
65
<tr class="blueRow0" tal:condition="python:updir is not None">
66
<td class="summcell" colspan="6">
67
<a tal:attributes="href python:url(['/files', revno_url, updir])" class="link">
68
<img tal:attributes="src python:branch.static_url('/static/images/ico_folder_up.gif')" />..</a>
72
<!-- Show this if it's a directory -->
73
<tal:block repeat="file filelist">
74
<tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='directory'">
75
<td class="autcell"><a tal:attributes="href python:url(['/files', revno_url, file.absolutepath])">
76
<img tal:attributes="src python:branch.static_url('/static/images/ico_folder.gif');
77
title string:Go to ${file/filename}" />
80
<a tal:attributes="href python:url(['/files', revno_url, file.absolutepath])"
81
tal:content="file/filename" class="link"></a>
83
<td class="date"><a tal:attributes="href python:url(['/revision', file.change.revno]);
84
title string:Show revision ${file/change/revno}"
85
tal:content="file/change/revno"></a>
87
<td class="date" tal:content="python:util.date_time(file.change.utc_date)"></td>
88
<td class="timedate2"></td>
89
<td class="expcell"><a tal:attributes="href python:url(['/changes'], start_revid=start_revid, filter_file_id=file.file_id);
90
title string:Show revision ${file/change/revno}">
91
<img tal:attributes="src python:branch.static_url('/static/images/ico_planilla.gif')" alt="Diff" />
94
<td class="expcell"></td>
97
<!-- Show this if it's a symlink -->
98
<tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='symlink'">
99
<td class="autcell"><a tal:attributes="href python:url(['/view', change.revno, file.absolutepath])">
100
<img tal:attributes="src python:branch.static_url('/static/images/ico_file_flecha.gif')" alt="Symlink" />
103
<a tal:attributes="href python:url(['/view', revno_url, file.absolutepath])"
104
tal:content="file/filename" class="link"></a>
106
<td class="date"><a tal:attributes="href python:url(['/revision', file.change.revno]);
107
title string:Show revision ${file/change/revno}"
108
tal:content="file/change/revno"></a>
110
<td class="date" tal:content="python:util.date_time(file.change.utc_date)"></td>
111
<td class="timedate2">.</td>
112
<td class="expcell"><a tal:attributes="href python:url(['/changes'], start_revid=start_revid, filter_file_id=file.file_id);
113
title string:Show revision ${file/change/revno}">
114
<img tal:attributes="src python:branch.static_url('/static/images/ico_planilla.gif');
115
title string:Show revision ${file/change/revno}" />
118
<td class="expcell"></td>
121
<!-- Show this if it's a regular file -->
122
<tr tal:attributes="class string:blueRow${repeat/file/even}" tal:condition="python:file.kind=='file'">
123
<td class="autcell"><a tal:attributes="href python:url(['/view', revno_url, file.absolutepath])">
124
<img tal:attributes="src python:branch.static_url('/static/images/ico_file.gif');
125
title string:View ${file/filename}"
126
tal:condition="python:file.executable is False" />
127
<!-- Show a different icon id the file executable -->
128
<img tal:attributes="src python:branch.static_url('/static/images/ico_file_modify.gif');
129
title string:View ${file/filename}"
130
tal:condition="python:file.executable is True" alt="File" />
133
<a tal:attributes="href python:url(['/view', revno_url, file.absolutepath])"
134
tal:content="file/filename" class="link"></a></td>
135
<td class="date"><a tal:attributes="href python:url(['/revision', file.change.revno]);
136
title string:Show revision ${file/change/revno}"
137
tal:content="file/change/revno"></a>
139
<td class="date" tal:content="python:util.date_time(file.change.utc_date)"></td>
140
<td class="timedate2" tal:content="python:util.human_size(file.size)"></td>
141
<td class="expcell"><a tal:attributes="href python:url(['/view', revno_url, file.absolutepath]);
142
title string:View ${file/filename}">
143
<img tal:attributes="src python:branch.static_url('/static/images/ico_planilla.gif')" alt="Diff" />
147
<a tal:attributes="href python:url(['/download', file.revid, file.file_id, file.filename]);
148
title string:Download ${file/filename} at revision ${file/change/revno}">
149
<img tal:attributes="src python:branch.static_url('/static/images/ico_file_download.gif')" alt="Download File" />