From 4b781a339951b8a4e60e3615bf879b339e4574fd Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Fri, 3 Oct 2008 06:53:06 +0000 Subject: Bug 452896: A user with no privs who reported a bug couldn't move it to another product if the target milestone was set Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- .../en/default/bug/process/verify-new-product.html.tmpl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'template') diff --git a/template/en/default/bug/process/verify-new-product.html.tmpl b/template/en/default/bug/process/verify-new-product.html.tmpl index 7b5b58a18..2eeb9277e 100644 --- a/template/en/default/bug/process/verify-new-product.html.tmpl +++ b/template/en/default/bug/process/verify-new-product.html.tmpl @@ -49,10 +49,15 @@ [%# Verify the version, component, and target milestone fields. %] -

Verify Version, Component[% ", Target Milestone" IF Param("usetargetmilestone") %]

+

Verify Version, Component + [%- ", Target Milestone" + IF Param("usetargetmilestone") + && bug.check_can_change_field('target_milestone', 0, 1) %]

-[% IF Param("usetargetmilestone") %] +[% IF Param("usetargetmilestone") + && bug.check_can_change_field('target_milestone', 0, 1) +%] You are moving the [% terms.bug %](s) to the product [% product.name FILTER html %], and the version, component, and/or target milestone fields are no longer @@ -93,7 +98,9 @@ default=default_component size=10 %] - [% IF Param("usetargetmilestone") %] + [% IF Param("usetargetmilestone") + && bug.check_can_change_field('target_milestone', 0, 1) + %] Target Milestone:
[% PROCESS "global/select-menu.html.tmpl" -- cgit v1.2.3-24-g4f1b