~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/templates/distroseries-portlet-derivation.pt

Merge db-devel.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  tal:define="overview_menu context/menu:overview">
7
7
  <tal:is_derived condition="context/is_derived_series">
8
8
    <tal:is_initialised condition="not: context/is_initialising">
9
 
    <h2>Derived from <tal:name replace="context/previous_series/displayname"/></h2>
 
9
    <tal:one_parent condition="view/has_unique_parent">
 
10
      <h2>Derived from <tal:name replace="view/unique_parent/displayname"/></h2>
 
11
    </tal:one_parent>
 
12
    <tal:multiple_parents condition="not: view/has_unique_parent">
 
13
      <h2>Derived from <tal:name replace="view/number_of_parents"/> parents</h2>
 
14
    </tal:multiple_parents>
10
15
 
11
16
      <tal:diffs define="nb_diffs view/num_differences;
12
17
                         nb_diffs_in_parent view/num_differences_in_parent;
15
20
          <li tal:condition="nb_diffs">
16
21
            <a tal:attributes="href string:${context/fmt:url}/+localpackagediffs"
17
22
               class="sprite info"
18
 
               title="Source package differences between this series and his parent">
 
23
               title="Source package differences between this series and his parent(s)">
19
24
              <tal:nb_diffs replace="nb_diffs"/> package<tal:plural
20
25
                content="string:s"
21
26
                condition="python:nb_diffs!=1"/> with differences
25
30
            <a tal:attributes="href string:${context/fmt:url}/+missingpackages"
26
31
               class="sprite info"
27
32
               title="Source packages only in parent series">
28
 
              <tal:nb_diffs replace="nb_diffs_in_parent"/> package<tal:plural
29
 
                content="string:s"
30
 
                condition="python:nb_diffs_in_parent!=1"/> only in <tal:replace
31
 
                  replace="context/previous_series/displayname">Sid</tal:replace>
 
33
              <tal:one_parent condition="view/has_unique_parent">
 
34
                <tal:nb_diffs replace="nb_diffs_in_parent"/> package<tal:plural
 
35
                  content="string:s"
 
36
                  condition="python:nb_diffs_in_parent!=1"/> only in <tal:replace
 
37
                    replace="view/unique_parent/displayname">Sid</tal:replace>
 
38
              </tal:one_parent>
 
39
              <tal:multiple_parents condition="not: view/has_unique_parent">
 
40
                <tal:nb_diffs replace="nb_diffs_in_parent"/> package<tal:plural
 
41
                  content="string:s"
 
42
                  condition="python:nb_diffs_in_parent!=1"/> only in a parent series
 
43
               </tal:multiple_parents>
32
44
            </a>
33
45
          </li>
34
46
          <li tal:condition="nb_diffs_in_child">