[%# 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.default.css" ] javascript_urls = ['extensions/BugModal/web/new_bug.js'] %] [% PROCESS global/header.html.tmpl %]

Coming Soon!

This is a demonstration of a reusable comment component

[% 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" %]
[%END%] [%# === status === %] [% WRAPPER bug_modal/module.html.tmpl title = "Status" %] [% WRAPPER fields_lhs %] [%# product %] [% 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 %] [% WRAPPER 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" %] [% INCLUDE prodcompsearch/form.html.tmpl id = "pcs" custom_select = 1 hidden = 1 throbber = "product-throbber" %] [% END %] [%# 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 %] [% END %] [% WRAPPER fields_rhs %]
Component Description
Select a component to read its description.
[% END %] [% END %] [%# === tracking === %] [% WRAPPER bug_modal/module.html.tmpl title = "Tracking" subtitle = sub collapsed = col %] [% WRAPPER fields_lhs %] [%# version %] [% 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 %] [% END %] [% BLOCK fields_lhs %]
[% content FILTER none %]
[% END %] [% BLOCK fields_rhs %]
[% content FILTER none %]
[% END %] [% IF user.id; INCLUDE bug_modal/common_new_comment.html.tmpl; ELSE; %]
You need to log in before you can file a [% terms.bug %].
[% END; %]
[% PROCESS global/footer.html.tmpl %]