From 6f06744ccc95232300ee53ead82166e60c84351c Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Thu, 6 Jul 2017 05:31:45 +0530 Subject: Bug 1365345 - Modal Bug Entry Prototype --- template/en/default/bug/new_bug.html.tmpl | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl index dc64a9678..274064be3 100644 --- a/template/en/default/bug/new_bug.html.tmpl +++ b/template/en/default/bug/new_bug.html.tmpl @@ -9,12 +9,18 @@ [% 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 = "" %] @@ -25,6 +31,7 @@ field_type = constants.FIELD_TYPE_FREETEXT edit_only = 1 editable = 1 + required = 1 help = "https://wiki.mozilla.org/BMO/UserGuide/BugFields#short_desc" %] @@ -131,6 +138,27 @@ [% 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 %] @@ -153,5 +181,6 @@ %] - + +
[% PROCESS global/footer.html.tmpl %] \ No newline at end of file -- cgit v1.2.3-24-g4f1b