[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# 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 generate_api_token = 1 yui = ['json', 'connection'] style_urls = ['skins/standard/bug.css'] javascript_urls = [ "js/attachment.js", 'js/field.js', "js/util.js", "js/TUI.js" ] doc_section = "using/editing.html#attachments" %]
[% PROCESS attachment/createformcontents.html.tmpl %] [%# Additional fields for attachments on existing bugs: %] [% IF attachments.size %] [% END %] [% IF (user.id != bug.assigned_to.id) AND user.in_group("editbugs", bug.product_id) %] [% END %] [% IF user.is_insider %] [% END %] [% Hook.process('form_before_submit') %] [% IF Param('minor_update_group') && user.in_group(Param('minor_update_group')) %] [% END %]
Obsoletes: (optional) Check each existing attachment made obsolete by your new attachment.
[% FOREACH attachment = attachments %] [% attachment.id %]: [% attachment.description FILTER html %]
[% 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.allows_unconfirmed %] [% 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 bug/comment.html.tmpl minrows = 6 maxrows = 15 cols = constants.COMMENT_COLS wrap = 'soft' %] [% IF NOT bug.cc.contains(user.login) %]
[% END %]
Privacy:
 
 
[% Hook.process('end') %] [% PROCESS global/footer.html.tmpl %]