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
|
<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"
xml:lang="en"
lang="en"
dir="ltr"
metal:use-macro="view/macro:page/main_only"
i18n:domain="launchpad"
>
<body>
<div metal:fill-slot="main">
<div id="maincontent">
<p tal:content="structure context/fmt:link" />
<div metal:use-macro="context/@@launchpad_form/form">
<metal:extra_info metal:fill-slot="extra_info">
<p class="informational message"
tal:repeat="message view/notifications"
tal:content="structure message">
Confirmation message.
</p>
</metal:extra_info>
<metal:widgets
metal:fill-slot="widgets"
tal:define="product_widget nocall:view/widgets/product;
product product_widget/getInputValue">
<tal:visited_steps
replace="structure view/widgets/__visited_steps__/hidden" />
<tal:add_packaging
replace="structure view/widgets/add_packaging/hidden" />
<div class="field">
<label tal:content="product_widget/label">Label</label>
<div>
<tal:link replace="structure product/fmt:link" />
(<a tal:attributes="href string:+choose-affected-product?field.product=${product/name}">Choose another project</a>)
<input type="hidden" tal:replace="structure product_widget/hidden" />
</div>
</div>
<div id="upstream-text" tal:condition="not: product/bug_tracking_usage/enumvalue:LAUNCHPAD"
tal:define="widgets view/bugwatch_widgets;
bugtracker product/getExternalBugTracker">
<p tal:condition="bugtracker">
<tal:product tal:replace="product/displayname">Evolution</tal:product>
uses <a tal:attributes="href bugtracker/baseurl"
tal:content="bugtracker/title">Gnome Bugzilla</a> to
track its bugs. If you know this bug has been reported there,
you can link to it; Launchpad will keep track of its status
for you.
</p>
<tal:bugtracker-links
condition="view/upstream_bugtracker_links"
define="links view/upstream_bugtracker_links">
<p tal:condition="links/bug_filing_url">
If you want to report this bug on
<tal:bug-tracker content="bugtracker/title" /> before
adding the link to Launchpad you can use the
<tal:bug-tracker content="bugtracker/title" />
<a id="bug-filing-form-url"
tal:attributes="href links/bug_filing_url;
title string:${bugtracker/title}'s bug filing form"
>bug filing form</a>.
</p>
<p tal:condition="links/bug_search_url">
If you want to search for this bug on
<tal:bug-tracker content="bugtracker/title" /> before adding
the link to Launchpad you can use the
<tal:bug-tracker content="bugtracker/title" />
<a id="search-form-url"
tal:attributes="href links/bug_search_url;
title string:${bugtracker/title}'s search form"
>search form</a>.
</p>
</tal:bugtracker-links>
<p tal:condition="not: bugtracker" id="upstream-text">
<tal:product tal:replace="product/displayname">Evolution</tal:product>
doesn't use Launchpad to track its bugs. If you know this bug
has been reported in another bug tracker, you can link to it;
Launchpad will keep track of its status for you.
</p>
<table class="form" style="width: auto"
tal:define="link_items view/link_upstream_how_items">
<tr>
<td tal:content="structure link_items/LINK_UPSTREAM" />
<td tal:define="widget nocall:view/widgets/bug_url;
field_name widget/context/__name__;
error python:view.getFieldError(field_name);
error_class python:error and 'error' or None"
tal:attributes="class error_class">
<div>
<input tal:replace="structure widget" />
</div>
<div class="message" tal:condition="error"
tal:content="structure error">Error message</div>
<p class="formHelp" tal:condition="widget/hint"
tal:content="widget/hint">Some Help Text
</p>
</td>
</tr>
<tal:XXX condition="nothing">
# XXX: GavinPanella 2008-02-13 bug=201793: This will be
# uncommented in a later branch.
# <tr>
# <td colspan="2" tal:content="structure link_items/EMAIL_UPSTREAM" />
# </tr>
</tal:XXX>
<tr>
<td tal:content="structure link_items/EMAIL_UPSTREAM_DONE" />
<td tal:define="widget nocall:view/widgets/upstream_email_address_done;
field_name widget/context/__name__;
error python:view.getFieldError(field_name);
error_class python:error and 'error' or None"
tal:attributes="class error_class">
<div>
<input tal:replace="structure widget" />
</div>
<div class="message" tal:condition="error"
tal:content="structure error">Error message</div>
<p class="formHelp" tal:condition="widget/hint"
tal:content="widget/hint">Some Help Text
</p>
</td>
</tr>
<tr>
<td colspan="2"
tal:content="structure link_items/UNLINKED_UPSTREAM" />
</tr>
</table>
</div>
<tal:public_bug tal:condition="not: context/bug/private">
<p tal:condition="product/bug_supervisor">
<a tal:replace="structure product/bug_supervisor/fmt:link">Sample Person</a>,
the bug supervisor for
<tal:product tal:replace="product/displayname">Firefox</tal:product>,
will be notified about this bug.
</p>
<tal:no_bug_supervisor tal:condition="not:product/bug_supervisor">
<p tal:condition="product/bug_tracking_usage/enumvalue:LAUNCHPAD">
<a tal:replace="structure product/owner/fmt:link">Sample Person</a>, the
<tal:product tal:replace="product/displayname">Firefox</tal:product>
registrant, will be notified about this bug.
</p>
<p tal:condition="not: product/bug_tracking_usage/enumvalue:LAUNCHPAD">
There is no bug supervisor for
<tal:product tal:replace="product/displayname">Firefox</tal:product>.
This means that there is nobody upstream we can notify about
this issue.
</p>
</tal:no_bug_supervisor>
</tal:public_bug>
<tal:private_bug tal:condition="context/bug/private">
<p tal:condition="product/bug_supervisor">
This is a private bug report,
so <a tal:replace="structure product/bug_supervisor/fmt:link">Sample Person</a>,
the bug supervisor for
<tal:product tal:replace="product/displayname">Firefox</tal:product>,
won’t be notified. You can also set up
<a href="+addsubscriber">additional contacts</a> to be notified.
</p>
</tal:private_bug>
</metal:widgets>
</div>
</div>
</div>
</body>
</html>
|