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
|
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
xmlns:i18n="http://xml.zope.org/namespaces/i18n"
metal:use-macro="view/macro:page/main_only"
i18n:domain="launchpad">
<body>
<h1 metal:fill-slot="heading">Branch merge queue</h1>
<div metal:fill-slot="main" id="merge-queue">
<table tal:condition="view/merge_queue" class="listing">
<thead>
<tr>
<th>Position</th>
<th>Branch details</th>
<th>Commit message</th>
</tr>
</thead>
<tbody>
<tr tal:repeat="proposal view/merge_queue">
<td>
<tal:position replace="repeat/proposal/number"/>
<tal:dequeue condition="proposal/required:launchpad.Edit|nothing">
<tal:button replace="structure proposal/@@+dequeue-inline"/>
</tal:dequeue>
<tal:show-button condition="not: repeat/proposal/start">
<tal:jump-queue condition="context/required:launchpad.Edit|nothing">
<tal:button replace="structure proposal/@@+jump-queue"/>
</tal:jump-queue>
</tal:show-button>
</td>
<td>
<tal:proposal condition="proposal"
define="mergeproposal proposal;
branch proposal/source_branch;
show_associations python:True;
">
<metal:landing-target use-macro="context/@@+macros/merge-proposal"/>
</tal:proposal>
<tal:cant-see-proposal condition="not: proposal">
A merge either involving a branch you are not authorised to see.
</tal:cant-see-proposal>
</td>
<td class="commit_message">
<tal:commit-message condition="proposal"
content="structure proposal/commit_message/fmt:text-to-html">
The commit message.
</tal:commit-message>
</td>
</tr>
</tbody>
</table>
<p tal:condition="not: view/merge_queue">
The queue is empty.
</p>
</div>
</body>
</html>
|