1 |
[%# The contents of this file are subject to the Mozilla Public |
2 |
# License Version 1.1 (the "License"); you may not use this file |
3 |
# except in compliance with the License. You may obtain a copy of |
4 |
# the License at http://www.mozilla.org/MPL/ |
5 |
# |
6 |
# Software distributed under the License is distributed on an "AS |
7 |
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
8 |
# implied. See the License for the specific language governing |
9 |
# rights and limitations under the License. |
10 |
# |
11 |
# The Original Code is the Bugzilla Bug Tracking System. |
12 |
# |
13 |
# The Initial Developer of the Original Code is Netscape Communications |
14 |
# Corporation. Portions created by Netscape are |
15 |
# Copyright (C) 1998 Netscape Communications Corporation. All |
16 |
# Rights Reserved. |
17 |
# |
18 |
# Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org> |
19 |
#%] |
20 |
|
21 |
[%# INTERFACE: |
22 |
# product: object; Bugzilla::Product object representing the product to |
23 |
# which the milestone belongs. |
24 |
# milestone: object; Bugzilla::Milestone object representing the |
25 |
# milestone the user wants to edit. |
26 |
#%] |
27 |
|
28 |
[% PROCESS global/variables.none.tmpl %] |
29 |
|
30 |
[% title = BLOCK %]Edit Milestone '[% milestone.name FILTER html %]' of product ' |
31 |
[%- product.name FILTER html %]'[% END %] |
32 |
[% PROCESS global/header.html.tmpl |
33 |
title = title |
34 |
onload = "document.forms['f'].milestone.select()" |
35 |
%] |
36 |
|
37 |
<form name="f" method="post" action="editmilestones.cgi"> |
38 |
<table border="0" cellpadding="4" cellspacing="0"> |
39 |
|
40 |
<tr> |
41 |
<th valign="top"><label for="milestone">Milestone:</label></th> |
42 |
<td><input id="milestone" size="20" maxlength="20" name="milestone" value=" |
43 |
[%- milestone.name FILTER html %]"></td> |
44 |
</tr> |
45 |
<tr> |
46 |
<th align="right"><label for="sortkey">Sortkey:</label></th> |
47 |
<td><input id="sortkey" size="20" maxlength="20" name="sortkey" value=" |
48 |
[%- milestone.sortkey FILTER html %]"></td> |
49 |
</tr> |
50 |
|
51 |
</table> |
52 |
|
53 |
<input type="hidden" name="milestoneold" value="[% milestone.name FILTER html %]"> |
54 |
<input type="hidden" name="action" value="update"> |
55 |
<input type="hidden" name="product" value="[% product.name FILTER html %]"> |
56 |
<input type="submit" id="update" value="Save Changes"> |
57 |
<input type="hidden" name="token" value="[% token FILTER html %]"> |
58 |
</form> |
59 |
|
60 |
[% PROCESS admin/milestones/footer.html.tmpl |
61 |
no_edit_milestone_link = 1 %] |
62 |
|
63 |
[% PROCESS global/footer.html.tmpl %] |