summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/milestones/edit.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/admin/milestones/edit.html.tmpl')
-rw-r--r--template/en/default/admin/milestones/edit.html.tmpl21
1 files changed, 10 insertions, 11 deletions
diff --git a/template/en/default/admin/milestones/edit.html.tmpl b/template/en/default/admin/milestones/edit.html.tmpl
index f49cacf4a..1fdea30e0 100644
--- a/template/en/default/admin/milestones/edit.html.tmpl
+++ b/template/en/default/admin/milestones/edit.html.tmpl
@@ -20,17 +20,16 @@
#%]
[%# INTERFACE:
- # name: string; The name of the milestone
- #
- # sortkey: number; milestone sortkey
- #
- # product: string; The product the milestone belongs to
+ # product: object; Bugzilla::Product object representing the product to
+ # which the milestone belongs.
+ # milestone: object; Bugzilla::Milestone object representing the
+ # milestone the user wants to edit.
#%]
[% PROCESS global/variables.none.tmpl %]
-[% title = BLOCK %]Edit Milestone '[% name FILTER html %]' of product '
- [%- product FILTER html %]'[% END %]
+[% title = BLOCK %]Edit Milestone '[% milestone.name FILTER html %]' of product '
+ [%- product.name FILTER html %]'[% END %]
[% PROCESS global/header.html.tmpl
title = title
onload = "document.forms['f'].milestone.select()"
@@ -42,19 +41,19 @@
<tr>
<th valign="top"><label for="milestone">Milestone:</label></th>
<td><input id="milestone" size="20" maxlength="20" name="milestone" value="
- [%- name FILTER html %]"></td>
+ [%- milestone.name FILTER html %]"></td>
</tr>
<tr>
<th align="right"><label for="sortkey">Sortkey:</label></th>
<td><input id="sortkey" size="20" maxlength="20" name="sortkey" value="
- [%- sortkey FILTER html %]"></td>
+ [%- milestone.sortkey FILTER html %]"></td>
</tr>
</table>
- <input type="hidden" name="milestoneold" value="[% name FILTER html %]">
+ <input type="hidden" name="milestoneold" value="[% milestone.name FILTER html %]">
<input type="hidden" name="action" value="update">
- <input type="hidden" name="product" value="[% product FILTER html %]">
+ <input type="hidden" name="product" value="[% product.name FILTER html %]">
<input type="submit" value="Update">
</form>