summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2005-11-19 09:48:08 +0100
committerwurblzap%gmail.com <>2005-11-19 09:48:08 +0100
commit383c59a7e4ef83e84864c764b123dccec681ca1d (patch)
tree01532ab3e30d57e29dfeecc2842a4a78f7b9fdaa
parent5e7a415f3e5095f4dabcdc587130fbec8c40874d (diff)
downloadbugzilla-383c59a7e4ef83e84864c764b123dccec681ca1d.tar.gz
bugzilla-383c59a7e4ef83e84864c764b123dccec681ca1d.tar.xz
Bug 317025: Deleting product throws error in default install (2.20 Windows) without usetargetmilestone turned on.
Patch by Marc Schumann <wurblzap@gmail.com>, r=LpSolit, a=myk
-rw-r--r--template/en/default/admin/products/confirm-delete.html.tmpl41
1 files changed, 22 insertions, 19 deletions
diff --git a/template/en/default/admin/products/confirm-delete.html.tmpl b/template/en/default/admin/products/confirm-delete.html.tmpl
index 9358974de..55fb49fb0 100644
--- a/template/en/default/admin/products/confirm-delete.html.tmpl
+++ b/template/en/default/admin/products/confirm-delete.html.tmpl
@@ -167,27 +167,30 @@
</td>
</tr>
- <tr>
- <td valign="top">
- [% IF product.milestones.size > 0 %]
- <a href="editmilestones.cgi?product=[%- product.name FILTER url_quote %]
- [%- classification_url_part -%]">
+
+ [% IF Param('usetargetmilestone') %]
+ <tr>
+ <td valign="top">
+ [% IF product.milestones.size > 0 %]
+ <a href="editmilestones.cgi?product=[%- product.name FILTER url_quote %]
+ [%- classification_url_part -%]">
+ Milestones:
+ </a>
+ [% ELSE %]
Milestones:
- </a>
- [% ELSE %]
- Milestones:
- [% END %]
- </td>
- <td>
- [% IF product.milestones.size > 0 %]
- [% FOREACH m = product.milestones %]
- [% m.name FILTER html %]<br>
[% END %]
- [% ELSE %]
- none
- [% END %]
- </td>
- </tr>
+ </td>
+ <td>
+ [% IF product.milestones.size > 0 %]
+ [% FOREACH m = product.milestones %]
+ [% m.name FILTER html %]<br>
+ [% END %]
+ [% ELSE %]
+ none
+ [% END %]
+ </td>
+ </tr>
+ [% END %]
<tr>
<td>[% terms.Bugs %]:</td>