~launchpad-pqm/launchpad/devel

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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<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-details" class="portlet"
  tal:define="overview_menu context/menu:overview">
  <h2>Series information</h2>

  <div class="two-column-list">
    <dl id="series-distribution">
      <dt>Distribution:</dt>
      <dd><tal:link replace="structure context/distribution/fmt:link" /></dd>
    </dl>

    <dl id="series-name">
      <dt>Series:</dt>
      <dd><tal:name replace="context/named_version" /></dd>
    </dl>

    <dl id="series-drivers">
      <dt>Project drivers:</dt>
      <dd>
        <tal:per_driver repeat="driver context/drivers">
          <a tal:replace="structure driver/fmt:link">driver</a><tal:comma
            condition="not: repeat/driver/end">,</tal:comma>
        </tal:per_driver>
      </dd>
    </dl>

    <dl id="series-release-manager">
      <dt>Release manager:</dt>
      <dd>
        <tal:no-driver condition="not: context/driver">None</tal:no-driver>
        <a
          tal:condition="context/driver"
          tal:replace="structure context/driver/fmt:link">series driver</a>
        <a tal:replace="structure overview_menu/driver/fmt:icon" />
       </dd>
     </dl>

    <dl id="series-status">
      <dt>Status:</dt>
      <dd>
        <tal:status content="context/status/title" />
        <a tal:replace="structure overview_menu/edit/fmt:icon" />
      </dd>
    </dl>

    <tal:derivation-not-enabled
        tal:condition="not:request/features/soyuz.derived_series_ui.enabled">

    <dl>
      <dt>Derives from:</dt>
      <dd>
        <a
          tal:condition="context/previous_series"
          tal:attributes="href context/previous_series/fmt:url"
          tal:content="context/previous_series/named_version" />
        <tal:none condition="not: context/previous_series">
          <tal:name replace="context/named_version"/> is not derived from
          another series.
        </tal:none>
      </dd>
    </dl>

    </tal:derivation-not-enabled>

    <tal:derivation-enabled
        tal:condition="request/features/soyuz.derived_series_ui.enabled">

    <dl tal:define="parents context/getParentSeries">
      <dt>Derives from:</dt>
      <dd tal:condition="parents">
        <tal:parents repeat="parent parents">
          <a tal:attributes="href parent/fmt:url"
             tal:content="parent/named_version">
          </a><tal:comma condition="not:repeat/parent/end">, </tal:comma>
        </tal:parents>
      </dd>
      <dd tal:condition="not:parents">
        <tal:name replace="context/named_version"/> is not derived from
        another series.
      </dd>
    </dl>

    <dl tal:define="all_child_series context/getDerivedSeries">
      <dt>Derived series:</dt>
      <dd>
        <tal:per_child_series repeat="child_series all_child_series">
          <a
            tal:attributes="href child_series/fmt:url"
            tal:content="child_series/named_version" /><tal:comma
            condition="not: repeat/child_series/end">,</tal:comma>
        </tal:per_child_series>
        <tal:none condition="not:all_child_series">
          No derived series.
        </tal:none>
      </dd>
    </dl>

    </tal:derivation-enabled>

    <dl tal:define="sourcecount context/sourcecount">
      <dt>Source packages:</dt>
      <dd
        tal:condition="sourcecount"
        tal:content="context/sourcecount" />
      <dd tal:condition="not: sourcecount">
        No sources imported or published.
      </dd>
    </dl>

    <dl tal:define="binarycount context/binarycount">
      <dt>Binary packages:</dt>
      <dd
        tal:condition="binarycount"
        tal:content="context/binarycount" />
      <dd tal:condition="not: binarycount">
        No binaries imported or published.
      </dd>
    </dl>
  </div>

</div>