From a4adf15c47119113ab2e93752042528e15fdecfd Mon Sep 17 00:00:00 2001 From: Sebastin Santy Date: Wed, 30 Aug 2017 02:32:50 +0530 Subject: Bug 1392769 - Add other fields to new-bug --- template/en/default/bug/new_bug.html.tmpl | 60 +++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/new_bug.html.tmpl b/template/en/default/bug/new_bug.html.tmpl index 7acb85e21..fc75d4a3d 100644 --- a/template/en/default/bug/new_bug.html.tmpl +++ b/template/en/default/bug/new_bug.html.tmpl @@ -156,8 +156,64 @@ [% 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 %] +
+
+
-- cgit v1.2.3-24-g4f1b