~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
125
126
127
128
129
130
131
132
133
134
135
<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"
  i18n:domain="launchpad">

  <metal:macros tal:replace="nothing">
    <metal:macro-derived metal:define-macro="base-to-derived">
      <span tal:replace="context/base_version">1.1.1</span> to
      <span tal:replace="context/derived_series/displayname">
        Derilucid</span> version:
      <span tal:replace="context/source_version">1.2.3</span>
    </metal:macro-derived>

    <metal:macro-parent metal:define-macro="base-to-parent">
      <span tal:replace="context/base_version">1.1.1</span> to
      <span tal:replace="context/parent_series/displayname">
        Lucid</span> version:
      <span tal:replace="context/parent_source_version">1.2.4</span>
    </metal:macro-parent>
  </metal:macros>

  <div
    tal:attributes="class view/blacklist_options_css_class"
    style="float:right">
    <dl>
      <dt>Ignored:</dt>
      <dd>
        <form>
          <tal:replace
            replace="structure view/widgets/blacklist_options" />
        </form>
      </dd>
    </dl>
  </div>

  <dl>
    <dt>Binary descriptions:</dt>
      <dd><ul>
        <li tal:repeat="summary view/binary_summaries">
          <tal:description replace="summary" /></li>
      </ul></dd>
    <tal:package-diffs tal:condition="view/can_have_packages_diffs">
    <dt>Last common version:</dt>
    <dd tal:condition="context/base_version">
        <a id="last_common_version"
           tal:attributes="href context/base_distro_source_package_release/fmt:url"
           tal:content="context/base_version"/></dd>
    <dd tal:condition="not: context/base_version">
      Unknown, so no diffs are available
    </dd>
    <tal:package-diffs-info condition="view/display_package_diffs_info">
    <dt
      tal:condition="view/show_package_diffs_request_link"
      class="package-diff-placeholder">
        <span class="package-diff-compute-request">
          <a class="js-action sprite add" href="">
            Compute differences from last common version</a>:
        </span>
    </dt>
    <dt
      tal:condition="not:view/show_package_diffs_request_link">
      Differences from last common version:
    </dt>
    <dd tal:condition="view/display_diffs">
      <ul class="package-diff-status">
        <tal:source-diff-option condition="view/display_child_diff">
          <li tal:condition="context/package_diff">
            <span tal:condition="context/package_diff/status/enumvalue:PENDING"
              class="sprite PENDING">
              <span metal:use-macro="template/macros/base-to-derived" />
              <span class="greyed-out note">(Pending)</span>
            </span>

            <span tal:condition="context/package_diff/status/enumvalue:FAILED"
              class="sprite FAILED">
              <span metal:use-macro="template/macros/base-to-derived" />
              <span class="greyed-out note">(Failed)</span>
            </span>

            <span tal:condition="context/package_diff/status/enumvalue:COMPLETED"
              class="sprite COMPLETED">
              <a tal:attributes="href context/package_diff_url">
                <span metal:use-macro="template/macros/base-to-derived" />
              </a>
            </span>
          </li>
          <li tal:condition="not: context/package_diff">
            <span class="sprite request-derived-diff derived">
              <span metal:use-macro="template/macros/base-to-derived" />
            </span>
          </li>
        </tal:source-diff-option>
        <tal:parent-diff-option condition="view/display_parent_diff">
          <li tal:condition="context/parent_package_diff">
            <span tal:condition="context/parent_package_diff/status/enumvalue:PENDING"
              class="sprite PENDING parent">
              <span metal:use-macro="template/macros/base-to-parent" />
              <span class="greyed-out note">(Pending)</span>
            </span>

            <span tal:condition="context/parent_package_diff/status/enumvalue:FAILED"
              class="sprite FAILED">
              <span metal:use-macro="template/macros/base-to-parent" />
              <span class="greyed-out note">(Failed)</span>
            </span>

            <span tal:condition="context/parent_package_diff/status/enumvalue:COMPLETED"
              class="sprite COMPLETED">
              <a tal:attributes="href context/parent_package_diff_url">
                <span metal:use-macro="template/macros/base-to-parent" />
              </a>
            </span>
          </li>
          <li tal:condition="not: context/parent_package_diff">
            <span class="sprite request-derived-diff parent">
              <span metal:use-macro="template/macros/base-to-parent" />
            </span>
          </li>
        </tal:parent-diff-option>
      </ul>
    </dd>
    </tal:package-diffs-info>

    </tal:package-diffs>
  </dl>

  <strong>Comments:</strong>
  <tal:conversation replace="structure view/@@+render"/>
  <tal:show_options condition="view/show_add_comment"
                    define="src_name context/source_package_name/name">
    <div tal:attributes="class string:add-comment-placeholder ${src_name}"></div>
  </tal:show_options>

</tal:root>