~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
<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"
  tal:define="published_source_and_binary_files
              view/published_source_and_binary_files"
  omit-tag="">
  <p tal:condition="view/builds_successful_and_pending" class="sml-informational">
    Note: Some binary packages for this source are not yet published in the
    repository.
  </p>
  <h3>Publishing details</h3>
    <tal:block replace="structure context/@@+record-details" />

  <h3>Changelog</h3>
    <tal:changelog
       replace="structure context/sourcepackagerelease/@@+changelog"/>

  <div tal:attributes="id
                       string:diff-for-${context/sourcepackagerelease/version}"
       tal:define="diffs view/available_diffs"
       tal:condition="diffs">
    <h3>Available diffs</h3>
    <ul>
       <li tal:repeat="diff diffs" tal:content="structure diff/fmt:link" />
    </ul>
  </div>

  <h3>Builds</h3>
  <ul style="margin-top: 0; margin-bottom: 0">
    <li tal:repeat="build view/builds">
      <tal:icon replace="structure build/image:icon" />
      <a tal:attributes="href build/fmt:url"
         tal:content="build/distro_arch_series/architecturetag">i386</a>
      <strong tal:condition="python: build in view.pending_builds">
        - Pending publication
      </strong>
    </li>
  </ul>

  <tal:built-packages condition="view/built_packages" omit-tag="">
    <h3>Built packages</h3>
    <ul tal:repeat="package view/built_packages"
        style="margin-top: 0; margin-bottom: 0">
      <li>
        <b><tal:name replace="package/binarypackagename"/></b>
        <tal:summary replace="package/summary"/>
      </li>
    </ul>
  </tal:built-packages>

  <h3>Package files</h3>
  <span tal:condition="not: published_source_and_binary_files"
     style="padding-left: 1em">No files published for this package.</span>
  <ul style="margin-top: 0; margin-bottom: 0">
    <li tal:repeat="file published_source_and_binary_files"
        tal:attributes="class string: package ${file/class}">
      <a tal:attributes ="href file/url" tal:content="file/filename"></a>
         (<span tal:replace="file/filesize/fmt:bytes" />)
    </li>
  </ul>

</tal:root>