1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="view/macro:page/main_only"
i18n:domain="launchpad"
>
<body>
<div metal:fill-slot="heading">
<h1 tal:content="view/page_title"/>
</div>
<div metal:fill-slot="main">
<div class="top-portlet">
<tal:navlinks replace="structure context/@@+related-software-navlinks"/>
</div>
<div id="packages" class="top-portlet">
<tal:navigation_top
replace="structure view/batchnav/@@+navigation-links-upper" />
<tal:ppa-packages
define="sourcepackagereleases view/batch">
<table class="listing" condition="sourcepackagereleases">
<thead>
<tr>
<th>Name</th>
<th>Uploaded to</th>
<th>Version</th>
<th>When</th>
<th>Failures</th>
</tr>
</thead>
<tbody>
<div metal:use-macro="template/macros/sourcepackagerelease-ppa-rows" />
</tbody>
</table>
<tal:navigation_bottom
replace="structure view/batchnav/@@+navigation-links-lower" />
<tal:no_packages condition="not: sourcepackagereleases">
<tal:name replace="context/fmt:displayname"/> has no related PPA packages.
</tal:no_packages>
</tal:ppa-packages>
</div>
</div>
<metal:macros fill-slot="bogus">
<metal:macro define-macro="sourcepackagerelease-ppa-rows">
<tal:comment replace="nothing">
This macro expects the following variables defined:
:sourcepackagereleases: A list of SourcePackageRelease objects
</tal:comment>
<tr tal:repeat="sourcepackagerelease sourcepackagereleases"
class="ppa_row">
<tal:block define="spr sourcepackagerelease;
distroseries spr/upload_distroseries;
ppa spr/upload_archive">
<td tal:content="spr/sourcepackagename/name">
iceweasel
</td>
<td>
<a tal:attributes="href ppa/fmt:url" tal:content="ppa/displayname" /> -
<a class="distroseries" tal:attributes="href distroseries/fmt:url"
tal:content="distroseries/fullseriesname" />
</td>
<td tal:content="spr/version">
1.0
</td>
<td
tal:attributes="title spr/dateuploaded/fmt:datetime"
tal:content="spr/dateuploaded/fmt:approximatedate">
2005-10-24
</td>
<td>
<tal:block condition="spr/needs_building">
Not yet built
</tal:block>
<tal:block condition="not: spr/needs_building">
<tal:block repeat="build spr/failed_builds">
<a tal:attributes="href build/fmt:url"
tal:content="build/distro_arch_series/architecturetag" />
</tal:block>
<tal:block condition="not: spr/failed_builds">
None
</tal:block>
</tal:block>
</td>
</tal:block>
</tr>
</metal:macro>
</metal:macros>
</body>
</html>
|