[%# 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.%] [% PROCESS global/variables.none.tmpl %] [% title = BLOCK %]Enter [% terms.Bug %] [% END %] [% PROCESS bug_modal/common_header.html.tmpl title = title jquery = [ "selectize" ] jquery_css = [ "js/jquery/plugins/selectize/selectize.bootstrap3.css" ] javascript_urls = ['extensions/BugModal/web/new_bug.js'] style_urls = ['extensions/BugModal/web/new_bug.css'] %] [% PROCESS global/header.html.tmpl %]

Create New [% terms.Bug %]

Before reporting a [% terms.bug %], make sure you've read our [% terms.bug %] writing guidelines and double checked that your [% terms.bug %] hasn't already been reported. Consult our list of most frequently reported [% terms.bugs %] and search through descriptions of previously reported [% terms.bugs %].

[% WRAPPER bug_modal/module.html.tmpl title = "" %] [%# summary %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.short_desc field_type = constants.FIELD_TYPE_FREETEXT edit_only = 1 editable = 1 required = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#short_desc" %] [% INCLUDE new_comment %] Many users could be harmed by this security problem: it should be kept hidden from the public until it is resolved
[% END %] [% WRAPPER bug_modal/module.html.tmpl title = "Attach a File" collapsed = 1 %]
[% END %]
[% WRAPPER bug_modal/module.html.tmpl title = "Status" %] [% can_edit_product = bug.check_can_change_field("product", 0, 1) %] [% filtered_product = bug.product_obj.name FILTER uri %] [% filtered_component = bug.component_obj.name FILTER uri %]
[% WRAPPER bug_modal/field.html.tmpl field = bug_fields.product field_type = constants.FIELD_TYPE_SINGLE_SELECT edit_only = 1 editable = 1 help = "describecomponents.cgi?product=$filtered_product" %]
[% bug.product FILTER html %]
[% END %]
[% INCLUDE bug_modal/field.html.tmpl field = bug_fields.product field_type = constants.FIELD_TYPE_SINGLE_SELECT hide_on_view = 1 hide_on_edit = !can_edit_product append_content = 1 help = "describecomponents.cgi?product=$filtered_product" %] [%# component %] [% WRAPPER bug_modal/field.html.tmpl field = bug_fields.component field_type = constants.FIELD_TYPE_SINGLE_SELECT help = "describecomponents.cgi?product=$filtered_product&component=$filtered_component#$filtered_component" edit_only = 1 editable = 1 %]
[% bug.component FILTER html %]
[% END %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.version field_type = constants.FIELD_TYPE_SINGLE_SELECT help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#version" edit_only = 1 editable = 1 %] [% END %] [% WRAPPER bug_modal/module.html.tmpl title = "Tracking" %] [%# keywords %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.keywords field_type = constants.FIELD_TYPE_MULTI_SELECT edit_only = 1 editable = 1 help = "describekeywords.cgi" %] [% WRAPPER bug_modal/field.html.tmpl field = bug_fields.status_whiteboard field_type = constants.FIELD_TYPE_FREETEXT help = "https://wiki.mozilla.org/BMO/UserGuide/Whiteboard" edit_only = 1 editable = 1 %] [% bug.status_whiteboard == "" ? "---" : bug.status_whiteboard FILTER html %] [% END %] [% END %] [% WRAPPER bug_modal/module.html.tmpl title = "People" collapsed = 1 %] [%# people %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.assigned_to field_type = constants.FIELD_TYPE_USER edit_only = 1 editable = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#assigned_to" %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.bug_mentor field_type = constants.FIELD_TYPE_USERS name = "bug_mentors" label = "Mentors" edit_only = 1 editable = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#bug_mentor" %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.cc field_type = constants.FIELD_TYPE_USERS name = "cc" label = "CC" edit_only = 1 editable = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#cc" %] [% END %] [% WRAPPER bug_modal/module.html.tmpl title = "Dependency Tree" collapsed = 1 %] [%# depends on %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.dependson field_type = constants.FIELD_TYPE_FREETEXT edit_only = 1 editable = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#dependson" %] [%# blocks %] [% INCLUDE bug_modal/field.html.tmpl field = bug_fields.blocked field_type = constants.FIELD_TYPE_FREETEXT edit_only = 1 editable = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#blocks" %] [% END %]
[% PROCESS global/footer.html.tmpl %] [% BLOCK fields_lhs %]
[% content FILTER none %]
[% END %] [% BLOCK fields_rhs %]
[% content FILTER none %]
[% END %] [% BLOCK new_comment %]
[% END %]