Merge lp://staging/~allenap/launchpad/ui-convert-bugtarget-x-3.0-bug-427755 into lp://staging/launchpad
- ui-convert-bugtarget-x-3.0-bug-427755
- Merge into devel
Status: | Merged |
---|---|
Approved by: | Gavin Panella |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp://staging/~allenap/launchpad/ui-convert-bugtarget-x-3.0-bug-427755 |
Merge into: | lp://staging/launchpad |
Diff against target: | None lines |
To merge this branch: | bzr merge lp://staging/~allenap/launchpad/ui-convert-bugtarget-x-3.0-bug-427755 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Eleanor Berger (community) | code ui | Approve | |
Review via email:
|
Commit message
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gavin Panella (allenap) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gavin Panella (allenap) wrote : | # |
Lint free.
./bin/test -vvt 'bug-?target'
To see the changes:
bugtarget-
https:/
https:/
https:/
bugtarget-
https:/
bugtarget-
bugtarget-
https:/
bugtarget-
https:/
bugtarget-
https:/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Eleanor Berger (intellectronica) wrote : | # |
r=me ui=me. let's take care of those two XXXs and please, give me back that sane human-readable formatting
Preview Diff
1 | === modified file 'lib/lp/bugs/templates/bugtarget-macros-filebug.pt' | |||
2 | --- lib/lp/bugs/templates/bugtarget-macros-filebug.pt 2009-07-17 17:59:07 +0000 | |||
3 | +++ lib/lp/bugs/templates/bugtarget-macros-filebug.pt 2009-09-11 16:35:17 +0000 | |||
4 | @@ -20,8 +20,7 @@ | |||
5 | 20 | <tr tal:condition="view/widgets/packagename|nothing"> | 20 | <tr tal:condition="view/widgets/packagename|nothing"> |
6 | 21 | <td style="padding-bottom: 1.5em" colspan="2" | 21 | <td style="padding-bottom: 1.5em" colspan="2" |
7 | 22 | tal:attributes="class view/getPackageNameFieldCSSClass"> | 22 | tal:attributes="class view/getPackageNameFieldCSSClass"> |
10 | 23 | <ul style="list-style: none" | 23 | <ul tal:define="select_packagename view/shouldSelectPackageName"> |
9 | 24 | tal:define="select_packagename view/shouldSelectPackageName"> | ||
11 | 25 | <li> | 24 | <li> |
12 | 26 | <input type="radio" name="packagename_option" value="none" | 25 | <input type="radio" name="packagename_option" value="none" |
13 | 27 | id="no-package" | 26 | id="no-package" |
14 | @@ -138,139 +137,137 @@ | |||
15 | 138 | 137 | ||
16 | 139 | 138 | ||
17 | 140 | <metal:not_uses_malone define-macro="not_uses_malone"> | 139 | <metal:not_uses_malone define-macro="not_uses_malone"> |
18 | 141 | |||
19 | 142 | <tal:not_uses_malone tal:condition="not: view/contextUsesMalone"> | 140 | <tal:not_uses_malone tal:condition="not: view/contextUsesMalone"> |
20 | 143 | |||
21 | 144 | <tal:has-context define="product_or_distro view/getProductOrDistroFromContext" | 141 | <tal:has-context define="product_or_distro view/getProductOrDistroFromContext" |
22 | 145 | condition="product_or_distro"> | 142 | condition="product_or_distro"> |
29 | 146 | 143 | <div class="highlight-message"> | |
30 | 147 | <div class="highlight-message"><a tal:replace="structure product_or_distro/fmt:link">Alsa Utils</a> | 144 | <a tal:replace="structure product_or_distro/fmt:link">Alsa Utils</a> |
31 | 148 | <strong>does not use</strong> Launchpad as its bug tracker. | 145 | <strong>does not use</strong> Launchpad as its bug tracker. |
32 | 149 | <a tal:attributes="href context/menu:overview/edit/fmt:url" | 146 | <a tal:attributes="href context/menu:overview/edit/fmt:url" |
33 | 150 | tal:condition="context/required:launchpad.Edit"> Change this | 147 | tal:condition="context/required:launchpad.Edit"> |
34 | 151 | <span class="sprite edit"></span></a> | 148 | Change this <span class="sprite edit"></span> |
35 | 149 | </a> | ||
36 | 152 | </div> | 150 | </div> |
37 | 153 | <span tal:condition="view/frontpage_form"> | 151 | <span tal:condition="view/frontpage_form"> |
39 | 154 | You can <a href="+filebug">refine and resubmit</a> your bug report. | 152 | You can <a href="+filebug">refine and resubmit</a> your bug |
40 | 153 | report. | ||
41 | 155 | </span> | 154 | </span> |
42 | 156 | |||
43 | 157 | <tal:upstream condition="view/contextIsProduct"> | 155 | <tal:upstream condition="view/contextIsProduct"> |
44 | 158 | |||
45 | 159 | <tal:defines define="bugtracker product_or_distro/getExternalBugTracker"> | 156 | <tal:defines define="bugtracker product_or_distro/getExternalBugTracker"> |
53 | 160 | 157 | <h3> | |
54 | 161 | <h3>Are you sure this bug is in <acronym class="explain" style="color: inherit" | 158 | Are you sure this bug is in <acronym class="explain" |
55 | 162 | title="the original developer of the software">upstream</acronym> | 159 | style="color: inherit" title="the original developer of |
56 | 163 | <span tal:replace="product_or_distro/displayname" />?</h3> | 160 | the software">upstream</acronym> <span |
57 | 164 | 161 | tal:replace="product_or_distro/displayname" />? | |
58 | 165 | <ul> | 162 | </h3> |
59 | 166 | <li tal:condition="product_or_distro/distrosourcepackages"> | 163 | <tal:distro-source-pacakges |
60 | 164 | condition="product_or_distro/distrosourcepackages"> | ||
61 | 165 | <p> | ||
62 | 167 | If you are using a package installed by your Linux | 166 | If you are using a package installed by your Linux |
63 | 168 | distribution, <b>the bug should be reported in that | 167 | distribution, <b>the bug should be reported in that |
64 | 169 | distribution</b>, instead. Launchpad knows that <span | 168 | distribution</b>, instead. Launchpad knows that <span |
71 | 170 | tal:replace="product_or_distro/displayname" /> is present in | 169 | tal:replace="product_or_distro/displayname" /> is |
72 | 171 | the following distribution packages: | 170 | present in the following distribution packages: |
73 | 172 | <ul class="source package" tal:repeat="dsp product_or_distro/distrosourcepackages"> | 171 | </p> |
74 | 173 | <li><a tal:attributes="href dsp/fmt:url"><span tal:replace="dsp/distribution/displayname" /> <span tal:replace="dsp/sourcepackagename" /></a> | 172 | <ul class="source package" tal:repeat="dsp product_or_distro/distrosourcepackages"> |
75 | 174 | </li> | 173 | <li> |
76 | 175 | </ul> | 174 | <a tal:attributes="href dsp/fmt:url" |
77 | 175 | tal:content="string:${dsp/distribution/displayname} ${dsp/sourcepackagename}" /> | ||
78 | 176 | </li> | ||
79 | 177 | </ul> | ||
80 | 178 | <p> | ||
81 | 176 | You can report bugs by visiting the package's page. | 179 | You can report bugs by visiting the package's page. |
100 | 177 | </li> | 180 | </p> |
101 | 178 | 181 | </tal:distro-source-pacakges> | |
102 | 179 | <br /> | 182 | <tal:not-distro-source-packages |
103 | 180 | <li tal:condition="not: product_or_distro/distrosourcepackages">If | 183 | condition="not: product_or_distro/distrosourcepackages"> |
104 | 181 | the bug you are reporting is in a package installed by a <a | 184 | <p> |
105 | 182 | href="/distros">distribution registered in Launchpad</a>, you should file the bug | 185 | If the bug you are reporting is in a package installed |
106 | 183 | against that specific distribution. | 186 | by a <a href="/distros">distribution registered in |
107 | 184 | 187 | Launchpad</a>, you should file the bug against that | |
108 | 185 | <tal:XXX condition="nothing"> | 188 | specific distribution. |
109 | 186 | # XXX: Graham Binns 2007-07-12 bug=125574: | 189 | </p> |
110 | 187 | # The formatting of this next paragraph seems a little | 190 | <tal:XXX condition="nothing"> |
111 | 188 | # odd when seen in the context of a product that does not | 191 | XXX: Graham Binns 2007-07-12 bug=125574: |
112 | 189 | # use Malone and does not specify another bug tracker. | 192 | The formatting of this next paragraph seems a little odd |
113 | 190 | # For an example of this, see | 193 | when seen in the context of a product that does not use |
114 | 191 | # http://bugs.launchpad.dev/thunderbird/+filebug. | 194 | Malone and does not specify another bug tracker. For an |
115 | 192 | </tal:XXX> | 195 | example of this, see |
116 | 193 | <p class="helpwanted message">Launchpad doesn't know of | 196 | http://bugs.launchpad.dev/thunderbird/+filebug. |
117 | 194 | any distribution packages that include upstream <span | 197 | </tal:XXX> |
118 | 198 | <p class="helpwanted message"> | ||
119 | 199 | Launchpad doesn't know of any distribution packages that | ||
120 | 200 | include upstream <span | ||
121 | 195 | tal:replace="product_or_distro/displayname" />. You can | 201 | tal:replace="product_or_distro/displayname" />. You can |
122 | 196 | help by <a tal:attributes="href | 202 | help by <a tal:attributes="href |
153 | 197 | string:${product_or_distro/development_focus/fmt:url}/+ubuntupkg">linking | 203 | product_or_distro/development_focus/fmt:url/+ubuntupkg">linking |
154 | 198 | them for us.</a></p> | 204 | them for us.</a> |
155 | 199 | </li> | 205 | </p> |
156 | 200 | 206 | </tal:not-distro-source-packages> | |
157 | 201 | <tal:has-bugtracker condition="bugtracker"> | 207 | <tal:has-bugtracker condition="bugtracker"> |
158 | 202 | <br /> | 208 | <p id="bugtarget-upstream-bugtracker-info"> |
159 | 203 | <li id="bugtarget-upstream-bugtracker-info"> | 209 | Bugs in <abbr title="the original developer of the |
160 | 204 | Bugs in | 210 | software" class="explain">upstream</abbr> |
161 | 205 | <abbr title="the original developer of the software" | 211 | <span tal:replace="product_or_distro/displayname"> |
162 | 206 | class="explain">upstream</abbr> | 212 | Alsa Utils |
163 | 207 | <span tal:replace="product_or_distro/displayname"> | 213 | </span> |
164 | 208 | Alsa Utils | 214 | <tal:action |
165 | 209 | </span> | 215 | define="via_email |
166 | 210 | <tal:action | 216 | bugtracker/bugtrackertype/enumvalue:EMAILADDRESS"> |
167 | 211 | define="via_email | 217 | <tal:via-email condition="via_email"> |
168 | 212 | bugtracker/bugtrackertype/enumvalue:EMAILADDRESS"> | 218 | should be sent to |
169 | 213 | <tal:via-email condition="via_email"> | 219 | <a tal:replace="structure bugtracker/fmt:external-link" /> |
170 | 214 | should be sent to | 220 | </tal:via-email> |
171 | 215 | <a tal:replace="structure bugtracker/fmt:external-link" /> | 221 | <tal:not-via-email condition="not:via_email"> |
172 | 216 | </tal:via-email> | 222 | should be reported in its official bug tracker, |
173 | 217 | <tal:not-via-email condition="not:via_email"> | 223 | <a tal:replace="structure bugtracker/fmt:external-title-link" /> |
174 | 218 | should be reported in its official bug tracker, | 224 | </tal:not-via-email> |
175 | 219 | <a tal:replace="structure bugtracker/fmt:external-title-link" /> | 225 | </tal:action> |
176 | 220 | </tal:not-via-email> | 226 | </p> |
177 | 221 | </tal:action> | 227 | </tal:has-bugtracker> |
148 | 222 | </li> | ||
149 | 223 | </tal:has-bugtracker> | ||
150 | 224 | |||
151 | 225 | </ul> | ||
152 | 226 | |||
178 | 227 | <tal:XXX condition="nothing"> | 228 | <tal:XXX condition="nothing"> |
183 | 228 | # XXX: kiko 2007-03-14: | 229 | XXX: kiko 2007-03-14: |
184 | 229 | # We shouldn't be using feedback@launchpad.net, but we have no | 230 | We shouldn't be using feedback@launchpad.net, but we have |
185 | 230 | # way of allowing people to go around changing product bugtracker | 231 | no way of allowing people to go around changing product |
186 | 231 | # details, so for now it will have to do. | 232 | bugtracker details, so for now it will have to do. |
187 | 232 | </tal:XXX> | 233 | </tal:XXX> |
189 | 233 | <p tal:condition="not: bugtracker" class="helpwanted message"> | 234 | <tal:not-has-bugtracker condition="not: bugtracker"> |
190 | 235 | <p class="helpwanted message"> | ||
191 | 234 | Launchpad doesn't know what bug tracker <span | 236 | Launchpad doesn't know what bug tracker <span |
195 | 235 | tal:replace="product_or_distro/displayname">Alsa Utils</span> | 237 | tal:replace="product_or_distro/displayname">Alsa |
196 | 236 | uses. Do you know? <a href="mailto: feedback@launchpad.net">Tell us about it.</a> | 238 | Utils</span> uses. Do you know? <a href="mailto: |
197 | 237 | </p> | 239 | feedback@launchpad.net">Tell us about it.</a> |
198 | 240 | </p> | ||
199 | 241 | </tal:not-has-bugtracker> | ||
200 | 238 | </tal:defines> | 242 | </tal:defines> |
201 | 239 | |||
202 | 240 | </tal:upstream> | 243 | </tal:upstream> |
203 | 241 | |||
204 | 242 | |||
205 | 243 | <tal:distro condition="not: view/contextIsProduct"> | 244 | <tal:distro condition="not: view/contextIsProduct"> |
206 | 244 | |||
207 | 245 | To file a bug for this distribution, visit its official bug | 245 | To file a bug for this distribution, visit its official bug |
208 | 246 | tracker. | 246 | tracker. |
209 | 247 | |||
210 | 248 | </tal:distro> | 247 | </tal:distro> |
211 | 249 | </tal:has-context> | 248 | </tal:has-context> |
212 | 250 | |||
213 | 251 | <tal:project condition="view/contextIsProject"> | 249 | <tal:project condition="view/contextIsProject"> |
214 | 252 | |||
215 | 253 | <p class="informational message" | 250 | <p class="informational message" |
220 | 254 | condition="not: context/required:launchpad.Edit" | 251 | condition="not: context/required:launchpad.Edit"> |
221 | 255 | > | 252 | There are no projects registered for <span |
222 | 256 | There are no projects registered for | 253 | tal:replace="context/displayname">project displayname</span> |
219 | 257 | <span tal:replace="context/displayname">project displayname</span> | ||
223 | 258 | that use Launchpad to track bugs. | 254 | that use Launchpad to track bugs. |
224 | 259 | </p> | 255 | </p> |
237 | 260 | 256 | <tal:not-has-products tal:condition="not: context/products"> | |
238 | 261 | <tal:admin-warning condition="context/required:launchpad.Edit"> | 257 | <tal:admin-warning condition="context/required:launchpad.Edit"> |
239 | 262 | <p tal:condition="not: context/products" class="warning message"> | 258 | <p class="warning message"> |
240 | 263 | There are no projects registered for | 259 | There are no projects registered for <span |
241 | 264 | <span tal:replace="context/displayname">project displayname</span>. | 260 | tal:replace="context/displayname">project |
242 | 265 | <br /> | 261 | displayname</span>. |
243 | 266 | You need to <a href="+newproduct">register another project that is | 262 | <br /> |
244 | 267 | part of <tal:project replace="context/displayname" /></a> or | 263 | You need to <a href="+newproduct" tal:attributes="href |
245 | 268 | associate an existing project with it. | 264 | context/fmt:url/+newproduct">register another project that |
246 | 269 | </p> | 265 | is part of <tal:project replace="context/displayname" |
247 | 270 | </tal:admin-warning> | 266 | /></a> or associate an existing project with it. |
248 | 271 | 267 | </p> | |
249 | 268 | </tal:admin-warning> | ||
250 | 269 | </tal:not-has-products> | ||
251 | 272 | <tal:has-products condition="context/products"> | 270 | <tal:has-products condition="context/products"> |
252 | 273 | |||
253 | 274 | <tal:plural condition="python:context.products.count() > 1"> | 271 | <tal:plural condition="python:context.products.count() > 1"> |
254 | 275 | <p id="product-list-summary"> | 272 | <p id="product-list-summary"> |
255 | 276 | There are <tal:count replace="context/products/count" /> projects | 273 | There are <tal:count replace="context/products/count" /> projects |
256 | @@ -285,55 +282,47 @@ | |||
257 | 285 | <p> | 282 | <p> |
258 | 286 | The projects that are part of | 283 | The projects that are part of |
259 | 287 | <tal:project replace="context/displayname" /> | 284 | <tal:project replace="context/displayname" /> |
265 | 288 | are listed below, along with | 285 | are listed below, along with the source packages with |
266 | 289 | the source packages with which they are registered and their | 286 | which they are registered and their external bug trackers. |
267 | 290 | external bug trackers. If you can't find an appropriate place | 287 | If you can't find an appropriate place to file your bug, |
268 | 291 | to file your bug, please try contacting the administrator of | 288 | please try contacting the administrator of <tal:project |
269 | 292 | <tal:project replace="context/displayname" />. | 289 | replace="context/displayname" />. |
270 | 293 | </p> | 290 | </p> |
271 | 294 | </tal:plural> | 291 | </tal:plural> |
272 | 295 | <tal:singular condition="python:context.products.count() == 1"> | 292 | <tal:singular condition="python:context.products.count() == 1"> |
273 | 296 | <p id="product-list-summary"> | 293 | <p id="product-list-summary"> |
277 | 297 | There is 1 project registered as part of | 294 | There is 1 project registered as part of <tal:project |
278 | 298 | <tal:project replace="context/displayname">Project</tal:project> | 295 | replace="context/displayname">Project</tal:project> but it |
279 | 299 | but it does not use Launchpad as its bug tracker. | 296 | does not use Launchpad as its bug tracker. |
280 | 300 | </p> | 297 | </p> |
281 | 301 | <p> | 298 | <p> |
287 | 302 | The details of the project are shown below, along with any source | 299 | The details of the project are shown below, along with any |
288 | 303 | packages with which it is registered and its external bug tracker, | 300 | source packages with which it is registered and its |
289 | 304 | if it uses one. If you can't find an appropriate place to file | 301 | external bug tracker, if it uses one. If you can't find an |
290 | 305 | your bug, please contact the administrator of | 302 | appropriate place to file your bug, please contact the |
291 | 306 | <tal:project replace="context/displayname">Project</tal:project>. | 303 | administrator of <tal:project |
292 | 304 | replace="context/displayname">Project</tal:project>. | ||
293 | 307 | </p> | 305 | </p> |
294 | 308 | </tal:singular> | 306 | </tal:singular> |
295 | 309 | |||
296 | 310 | <ul class="product-bug-options" tal:repeat="product context/products"> | 307 | <ul class="product-bug-options" tal:repeat="product context/products"> |
297 | 311 | <li condition="product/official_malone"> | 308 | <li condition="product/official_malone"> |
298 | 312 | <tal:link replace="structure product/fmt:link" /> | 309 | <tal:link replace="structure product/fmt:link" /> |
301 | 313 | 310 | <ul class="bulleted"> | |
300 | 314 | <ul> | ||
302 | 315 | <tal:external-tracker | 311 | <tal:external-tracker |
303 | 316 | define="bugtracker product/getExternalBugTracker"> | 312 | define="bugtracker product/getExternalBugTracker"> |
304 | 317 | |||
305 | 318 | <li tal:condition="bugtracker"> | 313 | <li tal:condition="bugtracker"> |
311 | 319 | External bug tracker: | 314 | External bug tracker: <a tal:replace="structure |
312 | 320 | <a tal:attributes="href bugtracker/baseurl" | 315 | bugtracker/fmt:external-title-link" />. |
308 | 321 | tal:content="bugtracker/title"> | ||
309 | 322 | Bug Tracker | ||
310 | 323 | </a>. | ||
313 | 324 | </li> | 316 | </li> |
314 | 325 | |||
315 | 326 | <li tal:condition="not: bugtracker"> | 317 | <li tal:condition="not: bugtracker"> |
321 | 327 | <tal:product replace="product/displayname"> | 318 | <tal:product replace="product/displayname"> |
322 | 328 | Project | 319 | Project |
323 | 329 | </tal:product> | 320 | </tal:product> |
324 | 330 | does not use an external bug tracker or has not registered | 321 | does not use an external bug tracker or has not registered |
325 | 331 | it with launchpad. | 322 | it with launchpad. |
326 | 332 | </li> | 323 | </li> |
327 | 333 | </tal:external-tracker> | 324 | </tal:external-tracker> |
328 | 334 | |||
329 | 335 | <tal:packages define="packages product/distrosourcepackages"> | 325 | <tal:packages define="packages product/distrosourcepackages"> |
330 | 336 | |||
331 | 337 | <li tal:condition="packages"> | 326 | <li tal:condition="packages"> |
332 | 338 | <ul tal:repeat="package packages"> | 327 | <ul tal:repeat="package packages"> |
333 | 339 | <li class="source package"> | 328 | <li class="source package"> |
334 | @@ -343,34 +332,29 @@ | |||
335 | 343 | replace="package/distribution/displayname" /> | 332 | replace="package/distribution/displayname" /> |
336 | 344 | <tal:packagename replace="package/sourcepackagename" /> | 333 | <tal:packagename replace="package/sourcepackagename" /> |
337 | 345 | </a> | 334 | </a> |
341 | 346 | (<a | 335 | (<a tal:attributes="href |
342 | 347 | tal:attributes="href string:${package/fmt:url}/+filebug" | 336 | package/fmt:url/+filebug">File a bug here</a>) |
340 | 348 | >File a bug here</a>) | ||
343 | 349 | </li> | 337 | </li> |
344 | 350 | </ul> | 338 | </ul> |
345 | 351 | </li> | 339 | </li> |
346 | 352 | |||
347 | 353 | <li tal:condition="not: packages"> | 340 | <li tal:condition="not: packages"> |
348 | 354 | <tal:product replace="product/displayname"> | 341 | <tal:product replace="product/displayname"> |
349 | 355 | Project | 342 | Project |
350 | 356 | </tal:product> | 343 | </tal:product> |
353 | 357 | is not registered with any source packages. You can help by | 344 | is not registered with any source packages. You can |
354 | 358 | <a tal:attributes="href string:${product/development_focus/fmt:url}/+ubuntupkg">linking them for us.</a> | 345 | help by <a tal:attributes="href |
355 | 346 | product/development_focus/fmt:url/+ubuntupkg">linking | ||
356 | 347 | them for us.</a> | ||
357 | 359 | </li> | 348 | </li> |
358 | 360 | |||
359 | 361 | </tal:packages> | 349 | </tal:packages> |
360 | 362 | </ul> | 350 | </ul> |
361 | 363 | </li> | 351 | </li> |
362 | 364 | </ul> | 352 | </ul> |
363 | 365 | |||
364 | 366 | </tal:has-products> | 353 | </tal:has-products> |
365 | 367 | |||
366 | 368 | </tal:project> | 354 | </tal:project> |
367 | 369 | </tal:not_uses_malone> | 355 | </tal:not_uses_malone> |
368 | 370 | |||
369 | 371 | </metal:not_uses_malone> | 356 | </metal:not_uses_malone> |
370 | 372 | 357 | ||
371 | 373 | |||
372 | 374 | <metal:bug_reporting_guidelines define-macro="bug_reporting_guidelines"> | 358 | <metal:bug_reporting_guidelines define-macro="bug_reporting_guidelines"> |
373 | 375 | <tr tal:define="guidelines view/bug_reporting_guidelines" | 359 | <tr tal:define="guidelines view/bug_reporting_guidelines" |
374 | 376 | tal:condition="guidelines"> | 360 | tal:condition="guidelines"> |
375 | @@ -384,7 +368,7 @@ | |||
376 | 384 | </metal:bug_reporting_guidelines> | 368 | </metal:bug_reporting_guidelines> |
377 | 385 | 369 | ||
378 | 386 | <metal:similar-bugs define-macro="display-similar-bugs"> | 370 | <metal:similar-bugs define-macro="display-similar-bugs"> |
380 | 387 | <ul id="similar-bugs" style="list-style: none; margin-left: 0; margin-bottom: 0"> | 371 | <ul id="similar-bugs"> |
381 | 388 | <li tal:repeat="bug view/similar_bugs" class="similar-bug"> | 372 | <li tal:repeat="bug view/similar_bugs" class="similar-bug"> |
382 | 389 | <table tal:define="bugtask python:view.getRelevantBugTask(bug)"> | 373 | <table tal:define="bugtask python:view.getRelevantBugTask(bug)"> |
383 | 390 | <tbody> | 374 | <tbody> |
384 | @@ -411,51 +395,42 @@ | |||
385 | 411 | >Bug title here</a> | 395 | >Bug title here</a> |
386 | 412 | </label> | 396 | </label> |
387 | 413 | </div> | 397 | </div> |
388 | 414 | |||
389 | 415 | <div class="lesser" style="margin-bottom: 0.2em"> | 398 | <div class="lesser" style="margin-bottom: 0.2em"> |
390 | 416 | <span class="lesser"> | 399 | <span class="lesser"> |
391 | 417 | <tal:bugtask-status tal:condition="bugtask"> | 400 | <tal:bugtask-status tal:condition="bugtask"> |
392 | 418 | <span tal:attributes="class string:status${bugtask/status/name}" | 401 | <span tal:attributes="class string:status${bugtask/status/name}" |
393 | 419 | ><tal:status content="bugtask/status/title" /></span> | 402 | ><tal:status content="bugtask/status/title" /></span> |
394 | 420 | </tal:bugtask-status> | 403 | </tal:bugtask-status> |
395 | 421 | |||
396 | 422 | <tal:no-bugtask condition="not: bugtask"> | 404 | <tal:no-bugtask condition="not: bugtask"> |
397 | 423 | <tal:closed condition="bug/is_complete">Closed</tal:closed> | 405 | <tal:closed condition="bug/is_complete">Closed</tal:closed> |
398 | 424 | <tal:open condition="not:bug/is_complete">Open</tal:open> | 406 | <tal:open condition="not:bug/is_complete">Open</tal:open> |
399 | 425 | </tal:no-bugtask> | 407 | </tal:no-bugtask> |
400 | 426 | |||
401 | 427 | (<tal:comments replace="bug/comment_count" /> | 408 | (<tal:comments replace="bug/comment_count" /> |
402 | 428 | <tal:one_comment condition="python: bug.comment_count == 1" | 409 | <tal:one_comment condition="python: bug.comment_count == 1" |
403 | 429 | replace="string: comment" | 410 | replace="string: comment" |
404 | 430 | /><tal:plural_comments | 411 | /><tal:plural_comments |
405 | 431 | condition="python: bug.comment_count != 1" | 412 | condition="python: bug.comment_count != 1" |
406 | 432 | replace="string: comments" />) | 413 | replace="string: comments" />) |
407 | 433 | |||
408 | 434 | last updated | 414 | last updated |
409 | 435 | <tal:last-updated | 415 | <tal:last-updated |
410 | 436 | content="bug/date_last_updated/fmt:approximatedate"> | 416 | content="bug/date_last_updated/fmt:approximatedate"> |
411 | 437 | 2007-07-03 | 417 | 2007-07-03 |
412 | 438 | </tal:last-updated> | 418 | </tal:last-updated> |
413 | 439 | |||
414 | 440 | <a class="view-bug-link" tal:attributes="href bug/fmt:url" | 419 | <a class="view-bug-link" tal:attributes="href bug/fmt:url" |
415 | 441 | >view this bug</a> | 420 | >view this bug</a> |
416 | 442 | </span> | 421 | </span> |
417 | 443 | </div> | 422 | </div> |
418 | 444 | |||
419 | 445 | <div class="duplicate-details" | 423 | <div class="duplicate-details" |
420 | 446 | tal:attributes="id string:details-for-bug-${bug/id}"> | 424 | tal:attributes="id string:details-for-bug-${bug/id}"> |
421 | 447 | |||
422 | 448 | <div class="lesser" style="margin-bottom: 0.5em;" | 425 | <div class="lesser" style="margin-bottom: 0.5em;" |
423 | 449 | tal:define="description bug/description/fmt:shorten/500/fmt:obfuscate-email/fmt:text-to-html" | 426 | tal:define="description bug/description/fmt:shorten/500/fmt:obfuscate-email/fmt:text-to-html" |
424 | 450 | tal:content="structure description" /> | 427 | tal:content="structure description" /> |
425 | 451 | |||
426 | 452 | <div class="lesser"> | 428 | <div class="lesser"> |
427 | 453 | <form action="." | 429 | <form action="." |
428 | 454 | tal:attributes="action view/action_url" | 430 | tal:attributes="action view/action_url" |
429 | 455 | method="post" | 431 | method="post" |
430 | 456 | accept-charset="UTF-8" | 432 | accept-charset="UTF-8" |
431 | 457 | class="this-is-my-bug-form"> | 433 | class="this-is-my-bug-form"> |
432 | 458 | |||
433 | 459 | <span style="padding-left: 1.5em"> | 434 | <span style="padding-left: 1.5em"> |
434 | 460 | <input type="hidden" | 435 | <input type="hidden" |
435 | 461 | name="field.bug_already_reported_as" | 436 | name="field.bug_already_reported_as" |
436 | @@ -470,13 +445,11 @@ | |||
437 | 470 | tal:attributes=" | 445 | tal:attributes=" |
438 | 471 | id string:bug-already-reported-as-${bug/id};" | 446 | id string:bug-already-reported-as-${bug/id};" |
439 | 472 | /> | 447 | /> |
440 | 473 | |||
441 | 474 | <input type="submit" | 448 | <input type="submit" |
442 | 475 | name="field.actions.this_is_my_bug" | 449 | name="field.actions.this_is_my_bug" |
443 | 476 | tal:attributes="id string:this-is-my-bug-${bug/id}" | 450 | tal:attributes="id string:this-is-my-bug-${bug/id}" |
444 | 477 | value="Yes, this is the bug I'm trying to report" | 451 | value="Yes, this is the bug I'm trying to report" |
445 | 478 | /> | 452 | /> |
446 | 479 | |||
447 | 480 | <div tal:attributes="id string:duplicate-overlay-bug-${bug/id}" | 453 | <div tal:attributes="id string:duplicate-overlay-bug-${bug/id}" |
448 | 481 | ></div> | 454 | ></div> |
449 | 482 | </span> | 455 | </span> |
450 | @@ -489,45 +462,26 @@ | |||
451 | 489 | </table> | 462 | </table> |
452 | 490 | </li> | 463 | </li> |
453 | 491 | </ul> | 464 | </ul> |
454 | 492 | |||
455 | 493 | <p tal:define="error_message view/widget_errors/bug_already_reported_as|nothing" | 465 | <p tal:define="error_message view/widget_errors/bug_already_reported_as|nothing" |
456 | 494 | tal:condition="error_message" tal:content="error_message" class="error message" /> | 466 | tal:condition="error_message" tal:content="error_message" class="error message" /> |
457 | 495 | |||
458 | 496 | </metal:similar-bugs> | 467 | </metal:similar-bugs> |
459 | 497 | 468 | ||
460 | 498 | <metal:similar-bugs-and-filebug-form | 469 | <metal:similar-bugs-and-filebug-form |
461 | 499 | define-macro="show-similar-bugs-and-filebug-form"> | 470 | define-macro="show-similar-bugs-and-filebug-form"> |
462 | 500 | |||
463 | 501 | <tal:similar-bugs condition="view/show_duplicate_list"> | 471 | <tal:similar-bugs condition="view/show_duplicate_list"> |
464 | 502 | <metal:similar-bugs | 472 | <metal:similar-bugs |
465 | 503 | use-macro="context/@@+filebug-macros/display-similar-bugs" /> | 473 | use-macro="context/@@+filebug-macros/display-similar-bugs" /> |
491 | 504 | 474 | <tal:comment replace="nothing"> | |
492 | 505 | <ul style="list-style: none; margin-left: 0"> | 475 | We hide this next paragraph if the context doesn't use malone |
493 | 506 | <li style="margin-top: 1em"> | 476 | because in that situation we're showing the form after an error |
494 | 507 | <tal:comment replace="nothing"> | 477 | message and in that context the message makes no sense. |
495 | 508 | We hide this next paragraph if the context doesn't use | 478 | </tal:comment> |
496 | 509 | malone because in that situation we're showing the form | 479 | <p style="margin-top: 1em" tal:condition="view/contextUsesMalone"> |
497 | 510 | after an error message and in that context the message | 480 | <input id="bug-not-already-reported" type="button" |
498 | 511 | makes no sense. | 481 | name="field.bug_already_reported_as" |
499 | 512 | </tal:comment> | 482 | value="No, I need to report a new bug" /> |
500 | 513 | <table tal:condition="view/contextUsesMalone"> | 483 | </p> |
476 | 514 | <tbody> | ||
477 | 515 | <tr> | ||
478 | 516 | <td colspan="2"> | ||
479 | 517 | <input | ||
480 | 518 | id="bug-not-already-reported" | ||
481 | 519 | type="button" | ||
482 | 520 | name="field.bug_already_reported_as" | ||
483 | 521 | value="No, I need to report a new bug" /> | ||
484 | 522 | </td> | ||
485 | 523 | </tr> | ||
486 | 524 | </tbody> | ||
487 | 525 | </table> | ||
488 | 526 | </li> | ||
489 | 527 | </ul> | ||
490 | 528 | |||
501 | 529 | </tal:similar-bugs> | 484 | </tal:similar-bugs> |
502 | 530 | |||
503 | 531 | <tal:submit-new-bug> | 485 | <tal:submit-new-bug> |
504 | 532 | <div id="bug_reporting_form"> | 486 | <div id="bug_reporting_form"> |
505 | 533 | <metal:form use-macro="context/@@launchpad_form/form"> | 487 | <metal:form use-macro="context/@@launchpad_form/form"> |
506 | @@ -544,7 +498,6 @@ | |||
507 | 544 | </metal:form> | 498 | </metal:form> |
508 | 545 | </div> | 499 | </div> |
509 | 546 | </tal:submit-new-bug> | 500 | </tal:submit-new-bug> |
510 | 547 | |||
511 | 548 | </metal:similar-bugs-and-filebug-form> | 501 | </metal:similar-bugs-and-filebug-form> |
512 | 549 | 502 | ||
513 | 550 | </tal:root> | 503 | </tal:root> |
514 | 551 | 504 | ||
515 | === modified file 'lib/lp/bugs/templates/bugtarget-macros-search.pt' | |||
516 | --- lib/lp/bugs/templates/bugtarget-macros-search.pt 2009-07-17 17:59:07 +0000 | |||
517 | +++ lib/lp/bugs/templates/bugtarget-macros-search.pt 2009-09-13 20:19:53 +0000 | |||
518 | @@ -2,9 +2,6 @@ | |||
519 | 2 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 2 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
520 | 3 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 3 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
521 | 4 | omit-tag=""> | 4 | omit-tag=""> |
522 | 5 | <metal:block define-macro="sortwidget_label"> | ||
523 | 6 | <label for="orderby">Sorted by:</label> | ||
524 | 7 | </metal:block> | ||
525 | 8 | 5 | ||
526 | 9 | <metal:block define-macro="sortwidget"> | 6 | <metal:block define-macro="sortwidget"> |
527 | 10 | <tal:comment condition="nothing"> | 7 | <tal:comment condition="nothing"> |
528 | @@ -59,11 +56,10 @@ | |||
529 | 59 | tal:attributes="selected python:orderby == '-users_affected_count'" | 56 | tal:attributes="selected python:orderby == '-users_affected_count'" |
530 | 60 | >by number of users affected</option> | 57 | >by number of users affected</option> |
531 | 61 | </select> | 58 | </select> |
532 | 62 | |||
533 | 63 | </metal:block> | 59 | </metal:block> |
534 | 64 | 60 | ||
535 | 65 | <metal:block define-macro="simple-search-form"> | 61 | <metal:block define-macro="simple-search-form"> |
537 | 66 | <form method="get" name="search" class="primary search" action="" | 62 | <form method="get" name="search" class="primary search" |
538 | 67 | tal:attributes="action search_url|string:"> | 63 | tal:attributes="action search_url|string:"> |
539 | 68 | <tal:searchbox replace="structure view/widgets/searchtext" /> | 64 | <tal:searchbox replace="structure view/widgets/searchtext" /> |
540 | 69 | <metal:widget use-macro="context/@@+bugtarget-macros-search/sortwidget" /> | 65 | <metal:widget use-macro="context/@@+bugtarget-macros-search/sortwidget" /> |
541 | @@ -82,13 +78,12 @@ | |||
542 | 82 | <div metal:define-slot="extra-search-widgets"> | 78 | <div metal:define-slot="extra-search-widgets"> |
543 | 83 | </div> | 79 | </div> |
544 | 84 | </form> | 80 | </form> |
553 | 85 | 81 | <tal:comment condition="nothing"> | |
554 | 86 | <tal:comment condition="nothing"> | 82 | bugtarget-bugs.pt is the only template that uses this form in a page |
555 | 87 | bugtarget-bugs.pt is the only template that uses this form in a page | 83 | where the search field should be auto-focused. If another template |
556 | 88 | where the search field should be auto-focused. If another template | 84 | ever falls into this category, the auto-focusing code should be moved |
557 | 89 | ever falls into this category, the auto-focusing code should be moved | 85 | here from bugtarget-bugs.pt, but made optional and off by default. |
558 | 90 | here from bugtarget-bugs.pt, but made optional and off by default. | 86 | </tal:comment> |
551 | 91 | </tal:comment> | ||
552 | 92 | |||
559 | 93 | </metal:block> | 87 | </metal:block> |
560 | 88 | |||
561 | 94 | </tal:root> | 89 | </tal:root> |
562 | 95 | 90 | ||
563 | === modified file 'lib/lp/bugs/templates/bugtarget-portlet-bugfilters-content.pt' | |||
564 | --- lib/lp/bugs/templates/bugtarget-portlet-bugfilters-content.pt 2009-07-17 17:59:07 +0000 | |||
565 | +++ lib/lp/bugs/templates/bugtarget-portlet-bugfilters-content.pt 2009-09-13 20:29:46 +0000 | |||
566 | @@ -1,5 +1,5 @@ | |||
569 | 1 | <div class="portletBody portletContent"> | 1 | <div xmlns:tal="http://xml.zope.org/namespaces/tal" |
570 | 2 | 2 | xmlns:metal="http://xml.zope.org/namespaces/metal"> | |
571 | 3 | <table width="100%"> | 3 | <table width="100%"> |
572 | 4 | <tr> | 4 | <tr> |
573 | 5 | <td><a tal:attributes="href view/getOpenBugsURL">Open</a></td> | 5 | <td><a tal:attributes="href view/getOpenBugsURL">Open</a></td> |
574 | @@ -38,5 +38,4 @@ | |||
575 | 38 | <td tal:content="context/all_bugtasks/count">42</td> | 38 | <td tal:content="context/all_bugtasks/count">42</td> |
576 | 39 | </tr> | 39 | </tr> |
577 | 40 | </table> | 40 | </table> |
578 | 41 | |||
579 | 42 | </div> | 41 | </div> |
580 | 43 | 42 | ||
581 | === modified file 'lib/lp/bugs/templates/bugtarget-portlet-bugtags.pt' | |||
582 | --- lib/lp/bugs/templates/bugtarget-portlet-bugtags.pt 2009-09-11 13:35:43 +0000 | |||
583 | +++ lib/lp/bugs/templates/bugtarget-portlet-bugtags.pt 2009-09-13 20:39:15 +0000 | |||
584 | @@ -36,11 +36,12 @@ | |||
585 | 36 | }); | 36 | }); |
586 | 37 | }); | 37 | }); |
587 | 38 | </script> | 38 | </script> |
595 | 39 | 39 | <ul> | |
596 | 40 | <p tal:condition="view/show_manage_tags_link" | 40 | <li tal:condition="view/show_manage_tags_link"> |
597 | 41 | style="text-align:right"> | 41 | <a class="sprite edit" |
598 | 42 | <a tal:attributes="href context/fmt:url/+manage-official-tags"> | 42 | tal:attributes="href context/fmt:url/+manage-official-tags"> |
599 | 43 | Edit official tags <span class="sprite edit" /> | 43 | Edit official tags |
600 | 44 | </a> | 44 | </a> |
601 | 45 | </p> | 45 | </li> |
602 | 46 | </ul> | ||
603 | 46 | </div> | 47 | </div> |
604 | 47 | 48 | ||
605 | === modified file 'lib/lp/bugs/templates/bugtarget-portlet-recently-touched-bugs.pt' | |||
606 | --- lib/lp/bugs/templates/bugtarget-portlet-recently-touched-bugs.pt 2009-07-17 17:59:07 +0000 | |||
607 | +++ lib/lp/bugs/templates/bugtarget-portlet-recently-touched-bugs.pt 2009-09-13 20:53:27 +0000 | |||
608 | @@ -6,15 +6,10 @@ | |||
609 | 6 | tal:define="recently_updated_bugtasks view/getMostRecentlyUpdatedBugTasks" | 6 | tal:define="recently_updated_bugtasks view/getMostRecentlyUpdatedBugTasks" |
610 | 7 | tal:condition="recently_updated_bugtasks"> | 7 | tal:condition="recently_updated_bugtasks"> |
611 | 8 | <h2>Latest bugs touched</h2> | 8 | <h2>Latest bugs touched</h2> |
623 | 9 | <div class="portletBody portletContent"> | 9 | <table> |
624 | 10 | 10 | <tbody> | |
625 | 11 | <table> | 11 | <tal:per_task repeat="bugtask recently_updated_bugtasks" |
626 | 12 | <tbody> | 12 | replace="structure bugtask/@@+listing-detailed"/> |
627 | 13 | <tal:per_task repeat="bugtask recently_updated_bugtasks" | 13 | </tbody> |
628 | 14 | replace="structure bugtask/@@+listing-detailed"/> | 14 | </table> |
618 | 15 | </tbody> | ||
619 | 16 | </table> | ||
620 | 17 | |||
621 | 18 | </div> | ||
622 | 19 | |||
629 | 20 | </div> | 15 | </div> |
630 | 21 | 16 | ||
631 | === modified file 'lib/lp/bugs/templates/bugtarget-portlet-search.pt' | |||
632 | --- lib/lp/bugs/templates/bugtarget-portlet-search.pt 2009-07-17 17:59:07 +0000 | |||
633 | +++ lib/lp/bugs/templates/bugtarget-portlet-search.pt 2009-09-13 20:53:27 +0000 | |||
634 | @@ -2,25 +2,25 @@ | |||
635 | 2 | xmlns:tal="http://xml.zope.org/namespaces/tal" | 2 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
636 | 3 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 3 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
637 | 4 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 4 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
638 | 5 | tal:define="bugs_url context/target/fmt:url/+bugs" | ||
639 | 5 | class="portlet" id="portlet-search"> | 6 | class="portlet" id="portlet-search"> |
640 | 6 | <h2>Search</h2> | 7 | <h2>Search</h2> |
660 | 7 | <div class="portletBody" | 8 | <form name="bugtask_search" method="GET" tal:attributes="action bugs_url"> |
661 | 8 | tal:define="bugs_url string:${context/target/fmt:url}/+bugs"> | 9 | <ul> |
662 | 9 | <b>Enter bug ID or keywords:</b><br /><br /> | 10 | <li> |
663 | 10 | <form name="bugtask_search" method="GET" | 11 | <label for="field.searchtext">Enter bug ID or keywords:</label> |
664 | 11 | tal:attributes="action bugs_url"> | 12 | </li> |
665 | 12 | <input | 13 | <li> |
666 | 13 | id="field.searchtext" | 14 | <input id="field.searchtext" name="field.searchtext" /> |
667 | 14 | name="field.searchtext" | 15 | </li> |
668 | 15 | size="6" | 16 | <li> |
669 | 16 | style="width: 90%;" | 17 | <input type="submit" name="search" value="Search" /> |
670 | 17 | /> | 18 | </li> |
671 | 18 | <input type="submit" name="search" value="Search" /> | 19 | </ul> |
672 | 19 | </form> | 20 | </form> |
673 | 20 | <br /> | 21 | <ul> |
674 | 21 | <a href="#" | 22 | <li> |
675 | 22 | tal:content="string:Show all open bugs" | 23 | <a tal:attributes="href bugs_url">Show all open bugs</a> |
676 | 23 | tal:attributes="href bugs_url">Show all Mozilla Firefox bugs</a> | 24 | </li> |
677 | 24 | </div> | 25 | </ul> |
659 | 25 | |||
678 | 26 | </div> | 26 | </div> |
679 | 27 | 27 | ||
680 | === modified file 'lib/lp/bugs/templates/bugtarget-portlet-tags-content.pt' | |||
681 | --- lib/lp/bugs/templates/bugtarget-portlet-tags-content.pt 2009-07-17 17:59:07 +0000 | |||
682 | +++ lib/lp/bugs/templates/bugtarget-portlet-tags-content.pt 2009-09-13 20:39:15 +0000 | |||
683 | @@ -1,13 +1,11 @@ | |||
684 | 1 | <div xmlns:tal="http://xml.zope.org/namespaces/tal" | 1 | <div xmlns:tal="http://xml.zope.org/namespaces/tal" |
685 | 2 | xmlns:metal="http://xml.zope.org/namespaces/metal" | 2 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
686 | 3 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" | 3 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
687 | 4 | class="portletBody" | ||
688 | 5 | tal:define="official_tags view/official_tags; | 4 | tal:define="official_tags view/official_tags; |
689 | 6 | other_tags view/other_tags" | 5 | other_tags view/other_tags" |
690 | 7 | tal:condition="python: official_tags or other_tags"> | 6 | tal:condition="python: official_tags or other_tags"> |
691 | 8 | <div class="section" tal:condition="official_tags"> | 7 | <div class="section" tal:condition="official_tags"> |
692 | 9 | <h2>Official tags</h2> | 8 | <h2>Official tags</h2> |
693 | 10 | |||
694 | 11 | <table width="100%"> | 9 | <table width="100%"> |
695 | 12 | <tr tal:repeat="bug_tag_info official_tags"> | 10 | <tr tal:repeat="bug_tag_info official_tags"> |
696 | 13 | <td width="100%"> | 11 | <td width="100%"> |
697 | @@ -20,11 +18,9 @@ | |||
698 | 20 | </tr> | 18 | </tr> |
699 | 21 | </table> | 19 | </table> |
700 | 22 | </div> | 20 | </div> |
701 | 23 | |||
702 | 24 | <div class="section" tal:condition="other_tags"> | 21 | <div class="section" tal:condition="other_tags"> |
703 | 25 | <h2 tal:condition="official_tags">Other tags</h2> | 22 | <h2 tal:condition="official_tags">Other tags</h2> |
704 | 26 | <h2 tal:condition="not: official_tags">Tags</h2> | 23 | <h2 tal:condition="not: official_tags">Tags</h2> |
705 | 27 | |||
706 | 28 | <table width="100%"> | 24 | <table width="100%"> |
707 | 29 | <tr tal:repeat="bug_tag_info other_tags"> | 25 | <tr tal:repeat="bug_tag_info other_tags"> |
708 | 30 | <td width="100%"> | 26 | <td width="100%"> |
709 | @@ -38,4 +34,3 @@ | |||
710 | 38 | </table> | 34 | </table> |
711 | 39 | </div> | 35 | </div> |
712 | 40 | </div> | 36 | </div> |
713 | 41 |
This is all pretty trivial stuff, converting a load of portlet and
macro templates to 3.0 rules.
Converted:
bugtarget- macros- filebug. pt portlet- bugfilters- content. pt portlet- bugtags. pt portlet- tags-content. pt portlet- recently- touched- bugs.pt portlet- search. pt
bugtarget-
bugtarget-
bugtarget-
bugtarget-
bugtarget-
No change needed:
bugtarget- filebug- show-similar. pt portlet- bugfilters. pt portlet- latestbugs. pt
bugtarget-
bugtarget-
Tidied:
bugtarget- macros- search. pt