summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorSebastin Santy <sebastinssanty@gmail.com>2017-08-29 23:02:50 +0200
committerDylan William Hardison <dylan@hardison.net>2017-08-29 23:02:50 +0200
commita4adf15c47119113ab2e93752042528e15fdecfd (patch)
tree2d547a803b6f8199eb1df9835dcc9464de2e500a /template/en
parent888e1d3f7b856e5e0f006eff222e14715b8a1900 (diff)
downloadbugzilla-a4adf15c47119113ab2e93752042528e15fdecfd.tar.gz
bugzilla-a4adf15c47119113ab2e93752042528e15fdecfd.tar.xz
Bug 1392769 - Add other fields to new-bug
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/new_bug.html.tmpl60
1 files changed, 58 insertions, 2 deletions
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 %]
- </div>
- <div class="new-bug-pad">
+
+ [% 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 %]
+ </div>
+ <div class="new-bug-pad">
+ </div>
</div>
</div>
</div>