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
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
|
<tal:root
xmlns:tal="http://xml.zope.org/namespaces/tal"
xmlns:metal="http://xml.zope.org/namespaces/metal"
omit-tag="">
<metal:basic_filebug_widgets define-macro="basic_filebug_widgets">
<tal:bugtarget
tal:define="widget nocall:view/widgets/bugtarget|nothing"
tal:condition="widget">
<metal:widget use-macro="context/@@launchpad_form/widget_row" />
</tal:bugtarget>
<tr tal:condition="view/widgets/packagename|nothing">
<th colspan="2" style="text-align: left"><label
tal:attributes="for view/widgets/packagename/name"
>In what package did you find this bug?</label>
</th>
</tr>
<tr tal:condition="view/widgets/packagename|nothing">
<td style="padding-bottom: 1.5em" colspan="2"
tal:attributes="class view/getPackageNameFieldCSSClass">
<ul tal:define="select_packagename view/shouldSelectPackageName">
<li>
<input type="radio" name="packagename_option" value="none"
id="no-package"
tal:attributes="checked not:select_packagename"/>
<label style="font-weight: normal" for="no-package">
I don't know
</label>
</li>
<li style="margin-top: 4px">
<input type="radio" name="packagename_option" value="choose"
id="choose"
tal:attributes="checked select_packagename"/>
<span tal:content="structure view/widgets/packagename" />
</li>
</ul>
<div
tal:condition="view/widget_errors/packagename|nothing"
class="message"
tal:content="view/widget_errors/packagename"
>An error on package name.</div>
</td>
</tr>
<noscript>
<tal:product tal:define="widget nocall:view/widgets/product|nothing"
tal:condition="widget">
<metal:widget use-macro="context/@@launchpad_form/widget_row" />
</tal:product>
</noscript>
<metal:summary tal:define="widget nocall:view/widgets/title">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</metal:summary>
<metal:description tal:define="widget nocall:view/widgets/comment">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</metal:description>
<tr id="extra-filebug-details"
tal:replace="structure context/@@+filebug-reporting-guidelines" />
<tr>
<td colspan="2">
<fieldset id="filebug-extra-options" class="collapsible collapsed">
<legend>Extra options</legend>
<table>
<tal:status
define="widget nocall:view/widgets/status|nothing"
condition="widget">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</tal:status>
<tal:importance
define="widget nocall:view/widgets/importance|nothing"
condition="widget">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</tal:importance>
<tal:milestone
define="widget nocall:view/widgets/milestone|nothing"
condition="widget">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</tal:milestone>
<tal:tags tal:define="widget nocall:view/widgets/tags">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</tal:tags>
<tal:assignee
define="widget nocall:view/widgets/assignee|nothing"
condition="widget">
<metal:row use-macro="context/@@launchpad_form/widget_row" />
</tal:assignee>
</table>
<metal:attachment-form
use-macro="context/@@bug-attachment-macros/attachment-form" />
</fieldset>
</td>
</tr>
</metal:basic_filebug_widgets>
<metal:not_uses_malone define-macro="not_uses_malone">
<tal:not_uses_malone tal:condition="not: view/contextUsesMalone">
<tal:has-context define="product_or_distro view/getProductOrDistroFromContext"
condition="product_or_distro">
<div class="highlight-message">
<a tal:replace="structure product_or_distro/fmt:link">Alsa Utils</a>
<strong>does not use</strong> Launchpad as its bug tracker.
<a tal:attributes="href context/menu:overview/configure_bugtracker/fmt:url"
tal:condition="context/required:launchpad.Edit">
Change this <span class="sprite edit"></span>
</a>
</div>
<span tal:condition="view/frontpage_form">
You can <a href="+filebug">refine and resubmit</a> your bug
report.
</span>
<tal:upstream condition="view/contextIsProduct">
<tal:defines define="bugtracker product_or_distro/getExternalBugTracker">
<h3>
Are you sure this bug is in <acronym class="explain"
style="color: inherit"
title="the original developer of the software">upstream</acronym>
<span tal:replace="product_or_distro/displayname" />?
</h3>
<tal:distro-source-pacakges
condition="product_or_distro/distrosourcepackages">
<p>
If you are using a package installed by your Linux
distribution, <b>the bug should be reported in that
distribution</b>, instead. Launchpad knows that <span
tal:replace="product_or_distro/displayname" /> is
present in the following distribution packages:
</p>
<ul class="source package" tal:repeat="dsp product_or_distro/distrosourcepackages">
<li>
<a tal:attributes="href dsp/fmt:url"
tal:content="string:${dsp/distribution/displayname} ${dsp/sourcepackagename/name}" />
</li>
</ul>
<p>
You can report bugs by visiting the package's page.
</p>
</tal:distro-source-pacakges>
<tal:not-distro-source-packages
condition="not: product_or_distro/distrosourcepackages">
<p>
If the bug you are reporting is in a package installed
by a <a href="/distros">distribution registered in
Launchpad</a>, you should file the bug against that
specific distribution.
</p>
<p class="warning message">
Launchpad doesn't know of any distribution packages that
include upstream <span
tal:replace="product_or_distro/displayname" />. You can
help by <a tal:attributes="href
product_or_distro/development_focus/fmt:url/+ubuntupkg">linking
them for us.</a>
</p>
</tal:not-distro-source-packages>
<tal:has-bugtracker condition="bugtracker">
<p id="bugtarget-upstream-bugtracker-info">
Bugs in <abbr title="the original developer of the software"
class="explain">upstream</abbr>
<span tal:replace="product_or_distro/displayname">
Alsa Utils
</span>
<tal:action
define="via_email
bugtracker/bugtrackertype/enumvalue:EMAILADDRESS">
<tal:via-email condition="via_email">
should be sent to
<a tal:replace="structure bugtracker/fmt:external-link" />
</tal:via-email>
<tal:not-via-email condition="not:via_email">
should be reported in its official bug tracker,
<a tal:replace="structure bugtracker/fmt:external-title-link" />
</tal:not-via-email>
</tal:action>
</p>
</tal:has-bugtracker>
<tal:XXX condition="nothing">
XXX: Gavin Panella 2009-09-14 bug=429354:
Asking people to use answers is not
ideal. We could instead link project owners to the +edit
page and provide the +contactuser form for everyone else
to contact the owner.
</tal:XXX>
<tal:not-has-bugtracker condition="not: bugtracker">
<p class="warning message">
Launchpad doesn't know what bug tracker <span
tal:replace="product_or_distro/displayname">Alsa
Utils</span> uses. Do you know?
<a href="/support">Tell us about it.</a>
</p>
</tal:not-has-bugtracker>
</tal:defines>
</tal:upstream>
<tal:distro condition="not: view/contextIsProduct">
To file a bug for this distribution, visit its official bug
tracker.
</tal:distro>
</tal:has-context>
<tal:project condition="view/contextIsProject">
<p class="informational message"
condition="not: context/required:launchpad.Edit">
There are no projects registered for <span
tal:replace="context/displayname">project displayname</span>
that use Launchpad to track bugs.
</p>
<tal:not-has-products tal:condition="not: context/products">
<tal:admin-warning condition="context/required:launchpad.Edit">
<p class="warning message">
There are no projects registered for
<span tal:replace="context/displayname">project displayname</span>.
<br />
You need to
<a tal:attributes="href context/fmt:url/+newproduct">register
another project that is part of
<tal:project replace="context/displayname" /></a>
or associate an existing project with it.
</p>
</tal:admin-warning>
</tal:not-has-products>
<tal:has-products condition="context/products">
<tal:plural condition="python:context.products.count() > 1">
<p id="product-list-summary">
There are <tal:count replace="context/products/count" /> projects
registered as part of <tal:project replace="context/displayname" />
but none of them use Launchpad as their bug tracker.
</p>
<p>
However, it may be possible for you to file a bug against a
specific project in a source package with which it is registered
or in an external bug tracker.
</p>
<p>
The projects that are part of
<tal:project replace="context/displayname" />
are listed below, along with the source packages with
which they are registered and their external bug trackers.
If you can't find an appropriate place to file your bug,
please try contacting the administrator of <tal:project
replace="context/displayname" />.
</p>
</tal:plural>
<tal:singular condition="python:context.products.count() == 1">
<p id="product-list-summary">
There is 1 project registered as part of
<tal:project replace="context/displayname" /> but it
does not use Launchpad as its bug tracker.
</p>
<p>
The details of the project are shown below, along with any
source packages with which it is registered and its
external bug tracker, if it uses one. If you can't find an
appropriate place to file your bug, please contact the
administrator of <tal:project
replace="context/displayname">Project</tal:project>.
</p>
</tal:singular>
<ul class="product-bug-options" tal:repeat="product context/products">
<li condition="product/bug_tracking_usage/enumvalue:LAUNCHPAD">
<tal:link replace="structure product/fmt:link" />
<ul class="bulleted">
<tal:external-tracker
define="bugtracker product/getExternalBugTracker">
<li tal:condition="bugtracker">
External bug tracker: <a tal:replace="structure
bugtracker/fmt:external-title-link" />.
</li>
<li tal:condition="not: bugtracker">
<tal:product replace="product/displayname">
Project
</tal:product>
does not use an external bug tracker or has not registered
it with launchpad.
</li>
</tal:external-tracker>
<tal:packages define="packages product/distrosourcepackages">
<li tal:condition="packages">
<ul tal:repeat="package packages">
<li class="source package">
Source package:
<a tal:attributes="href package/fmt:url">
<tal:displayname
replace="package/distribution/displayname" />
<tal:packagename replace="package/sourcepackagename/name" />
</a>
(<a tal:attributes="href
package/fmt:url/+filebug">File a bug here</a>)
</li>
</ul>
</li>
<li tal:condition="not: packages">
<tal:product replace="product/displayname">
Project
</tal:product>
is not registered with any source packages. You can
help by <a tal:attributes="href
product/development_focus/fmt:url/+ubuntupkg">linking
them for us.</a>
</li>
</tal:packages>
</ul>
</li>
</ul>
</tal:has-products>
</tal:project>
</tal:not_uses_malone>
</metal:not_uses_malone>
<metal:bug_reporting_guidelines define-macro="bug_reporting_guidelines">
<tr tal:define="guidelines view/bug_reporting_guidelines"
tal:condition="guidelines">
<td colspan="2" id="bug-reporting-guidelines">
<tal:guidelines repeat="guideline guidelines">
<h3><span tal:replace="guideline/source" /> bug reporting guidelines:</h3>
<div
tal:content="structure guideline/content/fmt:text-to-html-with-target" />
</tal:guidelines>
</td>
</tr>
</metal:bug_reporting_guidelines>
<metal:similar-bugs define-macro="display-similar-bugs">
<tal:results-intro-with-summary condition="view/show_summary_in_results">
<p id="filebug-query-heading">
Is "<strong><span tal:replace="view/search_text">my submitted bug summary</span></strong>"
one of these bugs?
</p>
</tal:results-intro-with-summary>
<tal:results-intro-without-summary
condition="not: view/show_summary_in_results">
<p id="filebug-query-heading">
Do any of the following bugs describe the bug you're trying to
report?
</p>
</tal:results-intro-without-summary>
<ul id="similar-bugs">
<li tal:repeat="bug view/similar_bugs" class="similar-bug">
<table tal:define="bugtask python:view.getRelevantBugTask(bug)">
<tbody>
<tr>
<td>
<img width="14" height="14" src="/@@/treeCollapsed"
class="bug-already-reported-expander"
tal:attributes="id string:bug-details-expander-bug-${bug/id};"
/>
</td>
<td>
<label tal:attributes="for string:bug-already-reported-as-${bug/id};
class bugtask/image:sprite_css"
tal:condition="bugtask"/>
<label class="sprite bug" tal:condition="not:bugtask"/>
</td>
<td>
<div>
<label tal:attributes="for string:bug-already-reported-as-${bug/id}"
style="font-weight: normal">
#<tal:bug-id replace="bug/id">4</tal:bug-id>
<a tal:attributes="href bug/fmt:url; id string:bug-${bug/id}-title"
tal:content="bug/title" class="duplicate-bug-link"
>Bug title here</a>
</label>
</div>
<div class="lesser" style="margin-bottom: 0.2em">
<span class="lesser">
<tal:bugtask-status tal:condition="bugtask">
<span tal:attributes="class string:status${bugtask/status/name}"
><tal:status content="bugtask/status/title" /></span>
</tal:bugtask-status>
<tal:no-bugtask condition="not: bugtask">
<tal:closed condition="bug/is_complete">Closed</tal:closed>
<tal:open condition="not:bug/is_complete">Open</tal:open>
</tal:no-bugtask>
(<tal:comments replace="bug/comment_count" />
<tal:one_comment condition="python: bug.comment_count == 1"
replace="string: comment"
/><tal:plural_comments
condition="python: bug.comment_count != 1"
replace="string: comments" />)
last updated
<tal:last-updated
content="bug/date_last_updated/fmt:approximatedate">
2007-07-03
</tal:last-updated>
<a class="view-bug-link" target="_blank"
tal:attributes="href bug/fmt:url"
>view this bug</a>
</span>
</div>
<div class="duplicate-details"
tal:attributes="id string:details-for-bug-${bug/id}">
<div class="lesser" style="margin-bottom: 0.5em;"
tal:define="description bug/description/fmt:shorten/500/fmt:obfuscate-email/fmt:text-to-html"
tal:content="structure description" />
<div class="lesser">
<form action="."
tal:attributes="action view/action_url"
method="post"
accept-charset="UTF-8"
class="this-is-my-bug-form">
<span style="padding-left: 1.5em">
<input type="hidden"
name="field.bug_already_reported_as"
class="bug-already-reported-as"
tal:attributes="
id string:bug-already-reported-as-${bug/id};
value string:${bug/id};" />
<input type="hidden"
name="field.subscribe_to_existing_bug"
class="subscribe-to-existing-bug"
value="no"
tal:attributes="
id string:bug-already-reported-as-${bug/id};"
/>
<input type="submit"
name="field.actions.this_is_my_bug"
tal:attributes="id string:this-is-my-bug-${bug/id}"
value="Yes, this is the bug I'm trying to report"
/>
<div tal:attributes="id string:duplicate-overlay-bug-${bug/id}"
></div>
</span>
</form>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
<p tal:define="error_message view/widget_errors/bug_already_reported_as|nothing"
tal:condition="error_message" tal:content="error_message" class="error message" />
</metal:similar-bugs>
<metal:similar-bugs-and-filebug-button
define-macro="show-similar-bugs-and-filebug-button">
<tal:similar-bugs condition="view/show_duplicate_list">
<metal:similar-bugs
use-macro="context/@@+filebug-macros/display-similar-bugs" />
<tal:comment replace="nothing">
We hide this next paragraph if the context doesn't use malone
because in that situation we're showing the form after an error
message and in that context the message makes no sense.
</tal:comment>
<p style="margin-top: 1em" tal:condition="view/contextUsesMalone">
<input id="bug-not-already-reported" type="button"
name="field.bug_already_reported_as"
value="No, I need to report a new bug" />
</p>
</tal:similar-bugs>
</metal:similar-bugs-and-filebug-button>
<metal:similar-bugs-and-filebug-form
define-macro="show-similar-bugs-and-filebug-form">
<metal:similar-bugs
use-macro="context/@@+filebug-macros/show-similar-bugs-and-filebug-button" />
<tal:submit-new-bug>
<metal:basic_filebug_widgets
metal:use-macro="context/@@+filebug-macros/inline-filebug-form" />
</tal:submit-new-bug>
</metal:similar-bugs-and-filebug-form>
<metal:inline-filebug-form define-macro="inline-filebug-form">
<div id="bug-reporting-form">
<metal:form use-macro="context/@@launchpad_form/form">
<a name="form-start" />
<metal:widgets metal:fill-slot="widgets">
<table class="form">
<metal:basic_filebug_widgets
metal:use-macro="context/@@+filebug-macros/basic_filebug_widgets" />
</table>
</metal:widgets>
<div class="actions" metal:fill-slot="buttons">
<input tal:replace="structure view/submit_bug_action/render" />
</div>
</metal:form>
</div>
</metal:inline-filebug-form>
<metal:filebug-form define-macro="simple-filebug-form">
<form action="."
tal:attributes="action view/action_url"
name="launchpadform"
method="post"
enctype="multipart/form-data"
accept-charset="UTF-8"
id="filebug-form">
<table class="form">
<metal:basic_filebug_widgets
metal:use-macro="context/@@+filebug-macros/basic_filebug_widgets" />
</table>
<div class="actions">
<input tal:replace="structure view/submit_bug_action/render" />
</div>
</form>
</metal:filebug-form>
</tal:root>
|