~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
<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"
  tal:define="
      context_menu view/context/menu:context;
      features request/features"
  tal:condition="view/show_merge_links">

  <h3>Branch merges</h3>
  <div id="merge-links"
       class="actions">
    <div id="merge-summary">

      <div id="landing-candidates"
           tal:condition="view/is_import_branch_with_no_landing_candidates">
        This import branch has no branches proposed for merge into it.
      </div>

      <div id="landing-candidates"
           tal:condition="view/landing_candidates">
        <img src="/@@/merge-proposal-icon" />
        <a href="+activereviews" tal:content="structure view/landing_candidate_count_text">
          1 branch
        </a>
        proposed for merging into this one.

      </div>

      <div id="dependent-branches" tal:condition="context/dependent_branches">
        <img src="/@@/merge-proposal-icon" />
        <a href="+merges" tal:content="structure view/dependent_branch_count_text">
          1 branch
        </a>
        dependent on this one.
      </div>

      <div id="landing-targets" tal:condition="view/landing_targets">
        <tal:landing-candidates repeat="mergeproposal view/landing_targets">
          <tal:merge-fragment
              tal:replace="structure mergeproposal/@@+summary-fragment"/>
        </tal:landing-candidates>
      </div>

    </div>
    <div
      tal:define="link context_menu/register_merge"
      tal:condition="link/enabled"
      tal:replace="structure link/render"
      />

    <div tal:condition="features/code.branchmergequeue">
      <div tal:condition="not: context/merge_queue">
        <h4>Merge Queue</h4>
        This branch is not managed by a queue.
        <div
          tal:define="link context_menu/create_queue"
          tal:condition="link/enabled"
          tal:content="structure link/render"
          />
      </div>
    </div>
  </div>

</div>