1 <html xmlns=
"http://www.w3.org/1999/xhtml" lang=
"en"
2 xmlns:
py=
"http://genshi.edgewall.org/"
3 xmlns:
xi=
"http://www.w3.org/2001/XInclude"
6 <py:def function=
"content">
9 <h2 py:
with=
"sep=Markup('»')" class=
"breadcrumb">
10 <a href=
"${ link_to() }"
11 title=
"All Branches">ALL
</a> <span>$sep
</span>
12 <a href=
"${ link_to('%s/' % branch.name()) }"
14 <strong id=
"branch">${branch.name()}
</strong></a>
15 <py:for each=
"c,url in breadcrumb">
17 <a py:
if=
"url" href=
"$url"><strong>$c
</strong></a>
18 <a py:
if=
"not url">$c
</a>
22 <!-- Here we render a File -->
23 <div py:
if=
"path.has_text()">
24 <!-- TODO: this might hide the underlying source text -->
25 <div class=
"fileinfo">
26 revision
<b>${path.rev()[
0]}
</b>:
<u>${path.revision().get_summary()}
</u><br />
27 modified by
<em>${path.revision().committer}
</em> ${path.age()[
1]} ago
29 ${Markup(path.highlighted_html())}
32 <!-- and here a Dir -->
33 <div py:
if=
"not path.has_text()" class=
"browser">
34 <table class=
"listing" id=
"dirlist">
37 <th class=
"name">Name
</th>
38 <th class=
"size">Size
</th>
39 <th class=
"rev">Rev
</th>
40 <th class=
"date">Age
</th>
41 <th class=
"change">Last Change
</th>
46 <tr py:
if=
"path.path != '/'" class=
"even">
47 <td class=
"name" colspan=
"5">
48 <a class=
"parent" href=
".." title=
"Parent Directory">..
</a></td>
51 <py:for each=
"i, p in enumerate(path.get_children())">
52 <tr class=
"${i%2 and 'odd' or 'even'}">
54 <a py:
if=
"p.has_text()" class=
"file" href=
"$p.name"
55 title=
"View File">${p.inventory.name}
</a>
56 <a py:
if=
"not p.has_text()" class=
"dir" href=
"$p.name/"
57 title=
"Browse Directory">${p.name}
</a>
61 <span py:
if=
"p.has_text()">
62 ${pretty_size(p.inventory.text_size)}
64 <span py:
if=
"not p.has_text()"></span>
68 <a title=
"${p.rev()[1]}">${p.rev()[
0]}
</a>
72 <span title=
"${p.age()[0]}">${p.age()[
1]}
</span>
76 <span class=
"author">${p.revision().committer}
</span>
77 <span class=
"change">${p.revision().get_summary()}
</span>
87 <p><b>Download
</b> via bazaar:
<code>$ bzr get $branch_url
</code></p>
94 <xi:include href=
"${ config['web']['skel_template'] }" />