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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
|
<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_side"
i18n:domain="launchpad"
>
<metal:block fill-slot="head_epilogue">
<style type="text/css">
.logtail {
padding-left: 2em;
}
#merge-summary, #recipe-summary {
margin-top: .5em;
margin-bottom: .1em;
}
#download-url dt, #upload-url dt {
font-weight: normal;
}
#download-url dd, #upload-url dd {
font-size: 120%;
font-weight: bold;
}
#download-url dd span.branch-url, #upload-url dd span.branch-url {
font-weight: normal;
}
</style>
<script type="text/javascript"
tal:content="string:
LPS.use('node', 'event', 'widget', 'plugin', 'overlay',
'lazr.choiceedit',
'lp.code.branch.status',
'lp.code.branchmergeproposal.diff',
'lp.code.branch.subscription',
function(Y) {
Y.on('load', function(e) {
var logged_in = LP.links['me'] !== undefined;
if (logged_in) {
var subscription_portlet = new Y.lp.code.branch.subscription.SubscriptionWidget({
contentBox: '#portlet-subscribers'
});
subscription_portlet.render();
}
Y.lp.code.branchmergeproposal.diff.connect_diff_links();
}, window);
});
"/>
</metal:block>
<body>
<metal:side fill-slot="side">
<div tal:replace="structure context/@@+portlet-privacy" />
<div tal:replace="structure context/@@+global-actions" />
<tal:subscribers replace="structure context/@@+portlet-subscribers" />
</metal:side>
<tal:registering metal:fill-slot="registering">
Created by
<tal:registrant replace="structure context/registrant/fmt:link" />
on
<tal:created-on replace="structure context/date_created/fmt:date" />
and last modified on
<tal:last-modified replace="structure context/date_last_modified/fmt:date" />
</tal:registering>
<div metal:fill-slot="main">
<div class="yui-g first">
<tal:branch-errors tal:replace="structure context/@@+messages" />
</div>
<div id="branch-description" tal:condition="context/description"
class="summary"
tal:content="structure context/description/fmt:text-to-html">
TODO: set the size properly
The description of the branch usually goes here, but will be used so
rarely that it only shows if there is a description set. To set a
description, one must do so through the "Edit details" navigation
link.
</div>
<div class="yui-g first">
<div id="branch-management" class="portlet">
<tal:branch-management
replace="structure context/@@++branch-management" />
</div>
</div>
<div class="yui-g">
<div class="portlet" id="branch-relations">
<tal:branch-pending-merges
replace="structure context/@@++branch-pending-merges" />
<tal:branch-recipes
replace="structure context/@@++branch-recipes"
/>
<tal:related-bugs-specs
replace="structure context/@@++branch-related-bugs-specs" />
</div>
</div>
<div class="yui-g">
<div id="branch-info" class="portlet">
<h2>Branch information</h2>
<tal:branch-info replace="structure context/@@++branch-information" />
</div>
</div>
<div id="branch-import-details"
class="yui-g"
tal:condition="context/branch_type/enumvalue:IMPORTED">
<div class="portlet">
<h2>Import details</h2>
<tal:branch-pending-merges
replace="structure context/@@++branch-import-details" />
</div>
</div>
<div id="whiteboard" class="yui-g" tal:condition="view/show_whiteboard">
<div class="portlet">
<h2>Whiteboard</h2>
<div id="branch-whiteboard-value"
tal:condition="context/whiteboard"
tal:content="structure context/whiteboard/fmt:text-to-html">
Whiteboard text goes here.
</div>
</div>
</div>
<div class="yui-g" tal:condition="view/pending_writes">
<div class="portlet">
<div id="branch-pending-writes" class="pending-update">
<h3>Updating branch...</h3>
<p>
Launchpad is processing new changes to this branch which will be
available in a few minutes. Reload to see the changes.
</p>
</div>
</div>
</div>
<div class="yui-g">
<div class="portlet" id="recent-revisions">
<h2>Recent revisions</h2>
<tal:branch-revisions replace="structure context/@@++branch-revisions" />
</div>
</div>
<div class="yui-g">
<div class="portlet" tal:condition="view/has_metadata">
<h2>Branch metadata</h2>
<tal:branch-metadata replace="structure context/@@++branch-metadata" />
</div>
</div>
<div
id="translations-sources"
tal:define="translations_sources view/translations_sources"
tal:condition="translations_sources">
<h2>Automatic translations commits</h2>
<ul>
<tal:sources-list repeat="source translations_sources">
<li tal:content="structure source/fmt:link">~foo/example/branch</li>
</tal:sources-list>
</ul>
</div>
<div id="nearby-branches" class="related">
<h2>Nearby</h2>
<ul>
<li tal:condition="context/product">
<a tal:attributes="href context/product/fmt:url:code">
Other <tal:product replace="context/product/displayname" /> branches
</a>
</li>
<li tal:condition="context/sourcepackage">
<a tal:attributes="href context/sourcepackage/fmt:url:code">
Other <tal:product replace="context/sourcepackage/displayname" /> branches
</a>
</li>
<li>
<a tal:attributes="href context/owner/fmt:url:code">
Other branches owned by <tal:person
replace="context/owner/fmt:displayname">Owner</tal:person>
</a>
</li>
<li tal:condition="not:view/owner_is_registrant">
<a tal:attributes="href string:${context/registrant/fmt:url:code}/+registeredbranches">
Other branches registered by <tal:person
replace="context/registrant/fmt:displayname">Registrant</tal:person>
</a>
</li>
</ul>
</div>
</div>
</body>
</html>
|