1
[%# 1.0@bugzilla.org %]
2
[%# The contents of this file are subject to the Mozilla Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/MPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is the Bugzilla Bug Tracking System.
14
# The Initial Developer of the Original Code is Netscape Communications
15
# Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
19
# Contributor(s): Gavin Shelley <bugzilla@chimpychompy.org>
23
# product: object; Bugzilla::Product object representing the product to
24
# which the version belongs.
25
# version: object; Bugzilla::Version object representing the version
27
# no_XXX_link: boolean; if defined, then don't show the corresponding
28
# link. Supported parameters are:
30
# no_edit_version_link
31
# no_edit_other_versions_link
39
[% UNLESS no_add_version_link %]
40
<a title="Add a version to product '[% product.name FILTER html %]'"
41
href="editversions.cgi?action=add&product=
42
[%- product.name FILTER url_quote %]">Add</a> a version.
45
[% IF version.name && !no_edit_version_link %]
47
title="Edit Version '[% version.name FILTER html %]' of product '
48
[%- product.name FILTER html %]'"
49
href="editversions.cgi?action=edit&product=
50
[%- product.name FILTER url_quote %]&version=
51
[%- version.name FILTER url_quote %]">
52
'[% version.name FILTER html %]'</a>.
55
[% UNLESS no_edit_other_versions_link %]
56
Edit other versions of product <a
57
href="editversions.cgi?product=
58
[%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.
63
href="editproducts.cgi?action=edit&product=
64
[%- product.name FILTER url_quote %]">'[% product.name FILTER html %]'</a>.