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
|
<div
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
id="series-packaging" class="portlet"
tal:define="overview_menu context/menu:overview"
tal:content="cache:public, 3 hour">
<h2>Upstream packaging</h2>
<p id="packaging-summary"
tal:define="count view/num_linked_packages;
singular string:source package is;
plural string:source packages are">
<strong tal:content="view/num_linked_packages"/>
<tal:plural
metal:use-macro="context/@@+base-layout-macros/plural-message"/>
linked to
registered upstream projects.
<strong tal:content="view/num_unlinked_packages"/>
<tal:needs define="singular string:needs;
plural string:need">
<tal:plural
metal:use-macro="context/@@+base-layout-macros/plural-message"/>
</tal:needs>
linking.
</p>
<dl>
<dt id="recently-linked"
tal:condition="view/recently_linked">
Recently linked to upstream:
</dt>
<dd>
<tal:package repeat="package view/recently_linked">
<p>
<a class="sprite package-source"
tal:attributes="href package/sourcepackage/fmt:url"
tal:content="package/sourcepackage/name">evolution</a>
<tal:owner condition="package/owner">
<span class="discreet greyed-out">linked by</span>
<a tal:replace="structure package/owner/fmt:link" />
</tal:owner>
<tal:no_owner condition="not:package/owner">
<span class="discreet greyed-out">linked</span>
</tal:no_owner>
<span class="discreet greyed-out"
tal:attributes="title package/datecreated/fmt:datetime"
tal:content="package/datecreated/fmt:approximatedate" />
</p>
</tal:package>
</dd>
</dl>
<ul class="horizontal">
<li>
<a tal:replace="structure context/menu:overview/needs_packaging/fmt:link" />
</li>
<li>
<a tal:replace="structure context/menu:overview/packaging/fmt:icon-link" />
</li>
</ul>
</div>
|