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
|
<tal:root
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
omit-tag="">
<div id="ppas" class="portlet" tal:condition="view/should_show_ppa_section">
<h2>Personal package archives</h2>
<div tal:replace="structure context/@@+ppas-list"/>
<ul class="horizontal">
<tal:can-create-ppa condition="context/canCreatePPA">
<li tal:define="link context/menu:overview/activate_ppa"
tal:condition="link/enabled"
tal:content="structure link/fmt:icon-link" />
</tal:can-create-ppa>
<tal:cannot-create-ppa condition="not: context/canCreatePPA">
<span class="cannot-create-ppa-message">
<span class="security sprite"></span>
Open or Delegated teams can not create PPAs.
<a href="+edit" class="edit sprite"></a>
</span>
</tal:cannot-create-ppa>
<tal:is-person condition="not: context/is_team">
<li tal:define="link context/menu:overview/view_ppa_subscriptions"
tal:condition="link/enabled"
tal:replace="structure link/fmt:icon-link" />
</tal:is-person>
</ul>
</div>
<div tal:define="link context/menu:overview/view_recipes"
tal:condition="link/enabled">
<a tal:replace="structure link/fmt:link" />
</div>
</tal:root>
|