[%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Myk Melez # Joel Peshkin # Erik Stambaugh # Marc Schumann #%] [% PROCESS "global/field-descs.none.tmpl" %] [%# Define strings that will serve as the title and header of this page %] [% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bug.bug_id %][% END %] [% header = BLOCK %]Create New Attachment for [%+ "$terms.Bug $bug.bug_id" FILTER bug_link(bug) FILTER none %][% END %] [% subheader = BLOCK %][% bug.short_desc FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title header = header subheader = subheader style_urls = [ 'skins/standard/create_attachment.css' ] javascript_urls = [ "js/attachment.js", "js/util.js" ] doc_section = "attachments.html" %]
[% PROCESS attachment/createformcontents.html.tmpl %] [%# Additional fields for attachments on existing bugs: %] [% IF (user.id != bug.assigned_to.id) AND user.in_group("editbugs", bug.product_id) %] [% END %] [% IF user.is_insider %] [% END %]
Obsoletes: (optional) Check each existing attachment made obsolete by your new attachment.
[% IF attachments.size %] [% FOREACH attachment = attachments %] [% IF ((attachment.isprivate == 0) || user.is_insider) %] [% attachment.id %]: [% attachment.description FILTER html %]
[% END %] [% END %] [% ELSE %] [no attachments can be made obsolete] [% END %]
Reassignment: If you want to assign this [% terms.bug %] to yourself, check the box below.
[% bug_statuses = [] %] [% FOREACH bug_status = bug.status.can_change_to %] [% NEXT IF bug_status.name == "UNCONFIRMED" && !bug.product_obj.votes_to_confirm %] [% bug_statuses.push(bug_status) IF bug_status.is_open %] [% END %] [% IF bug_statuses.size %] [% END %]
(optional) Add a comment about this attachment to the [% terms.bug %].
[% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment' minrows = 6 maxrows = 15 cols = constants.COMMENT_COLS wrap = 'soft' %]
Privacy:
 
[% Hook.process('end') %] [% PROCESS global/footer.html.tmpl %]