summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-08-17 23:23:01 +0200
committerDylan William Hardison <dylan@hardison.net>2017-08-17 23:23:01 +0200
commit5c849ad08765322010064f482fd2dea11482c114 (patch)
tree18dea55741d9429b779ca9617281e2c8750d50df /template/en/default/bug
parent2f81eea6219ce9d5704765a539e7272fd320e628 (diff)
downloadbugzilla-5c849ad08765322010064f482fd2dea11482c114.tar.gz
bugzilla-5c849ad08765322010064f482fd2dea11482c114.tar.xz
Bug 1383500 - Allow giving a default product in the URL in new-bug
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/new_bug.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl
index d064398c5..bed0c5578 100644
--- a/template/en/default/bug/new_bug.html.tmpl
+++ b/template/en/default/bug/new_bug.html.tmpl
@@ -75,7 +75,7 @@
[% 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 %]
-
+ <div id="product_wrap">
[% WRAPPER bug_modal/field.html.tmpl
field = bug_fields.product
field_type = constants.FIELD_TYPE_SINGLE_SELECT
@@ -83,6 +83,7 @@
editable = 1
help = "describecomponents.cgi?product=$filtered_product"
%]
+
<span aria-owns="product-name product-latch">
<span role="button" aria-label="show product information" aria-expanded="false" tabindex="0"
class="spin-latch" id="product-latch" data-latch="product" data-for="product">&#9656;</span>
@@ -95,7 +96,7 @@
</div>
</span>
[% END %]
-
+ </div>
[% WRAPPER bug_modal/field.html.tmpl
field = bug_fields.product
field_type = constants.FIELD_TYPE_SINGLE_SELECT