[%# License: MPL 2.0, incompatible with secondary licenses # Contributor(s): Gavin Shelley #%] [%# INTERFACE: # product: object; Bugzilla::Product object representing the product to which the version belongs. # version: object; Bugzilla::Version object representing the version the user wants to edit. #%] [% IF version.id %] [% title = BLOCK %]Edit Version '[% version.name | html %]' of product '[%- product.name | html %]'[% END %] [% ELSE %] [% title = BLOCK %]Add Version to Product '[% product.name | html %]'[% END %] [% subheader = BLOCK %]This page allows you to add a new version to product '[% product.name | html %]'.[% END %] [% END %] [% PROCESS global/header.html.tmpl title = title subheader = subheader onload = "document.getElementById('version').focus()" %]
[% IF version.id %] [% INCLUDE "admin/fieldvalues/control-list-common.html.tmpl" this_field=version.field this_value=version %] [% END %]

[% IF version.id %] [% END %]
[% PROCESS admin/versions/footer.html.tmpl no_edit_version_link = version.id no_add_version_link = !version.id %] [% PROCESS global/footer.html.tmpl %]