summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-06-25 19:07:55 +0200
committerbbaetz%student.usyd.edu.au <>2002-06-25 19:07:55 +0200
commitb77ad821cb2fff20085e3d990148eec8b383df98 (patch)
tree4fdeb3339c1b36bb52f0b529fddb9b9e032af9c6 /template
parent9f510268889a6ba3ec6da8bf022cc5627ec573d5 (diff)
downloadbugzilla-b77ad821cb2fff20085e3d990148eec8b383df98.tar.gz
bugzilla-b77ad821cb2fff20085e3d990148eec8b383df98.tar.xz
Bug 157085 - verify-new-product doesn't set defaults
r=jouni, gerv
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/process/verify-new-product.html.tmpl8
1 files changed, 5 insertions, 3 deletions
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 84e5dd95a..21c5664b8 100644
--- a/template/en/default/bug/process/verify-new-product.html.tmpl
+++ b/template/en/default/bug/process/verify-new-product.html.tmpl
@@ -26,6 +26,8 @@
# versions: array; versions for the new product.
# components: array; components for the new product.
# milestones: array; milestones for the new product.
+ # defaults: hash; keys are names of fields, values are defaults for
+ # those fields
# verify_bug_group: boolean; whether or not to ask the user
# if they want to add the bug to its new product's group
# use_target_milestone: boolean; whether or not to use
@@ -57,16 +59,16 @@
<tr>
<td>
<b>Version:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="version" options=versions %]
+ [% PROCESS "global/select-menu.html.tmpl" name="version" options=versions default=defaults.version %]
</td>
<td>
<b>Component:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="component" options=components %]
+ [% PROCESS "global/select-menu.html.tmpl" name="component" options=components default=defaults.component %]
</td>
[% IF use_target_milestone %]
<td>
<b>Target Milestone:</b><br>
- [% PROCESS "global/select-menu.html.tmpl" name="target_milestone" options=milestones %]
+ [% PROCESS "global/select-menu.html.tmpl" name="target_milestone" options=milestones default=defaults.target_milestone %]
</td>
[% END %]
</tr>