From 0b4ee129cc3a16943a39f01494f8167791a8d38a Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 11 Feb 2009 19:41:14 +0000 Subject: Bug 376673: Add a simple version of the bug entry form (enter_bug.cgi) Patch By Max Kanat-Alexander r=pyrzak, r=LpSolit, a=LpSolit --- template/en/default/bug/create/create.html.tmpl | 34 ++++++++++++++++++++----- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 5b99d38ba..7b6180781 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -34,7 +34,7 @@ 'skins/standard/yui/calendar.css' ] javascript_urls = [ "js/attachment.js", "js/util.js", "js/yui/yahoo-dom-event.js", "js/yui/calendar.js", - "js/field.js" ] + "js/field.js", "js/yui/cookie.js", "js/TUI.js" ] %] @@ -187,7 +193,16 @@ function handleWantsAttachment(wants_attachment) { -   + + Hide + Advanced Fields + [%# Show the link if the browser supports JS %] + + @@ -454,7 +469,7 @@ function handleWantsAttachment(wants_attachment) { - + [% USE Bugzilla %] [% FOREACH field = Bugzilla.active_custom_fields %] @@ -466,6 +481,9 @@ function handleWantsAttachment(wants_attachment) { value_span = 3 %] [% END %] + + + Summary: @@ -501,7 +519,7 @@ function handleWantsAttachment(wants_attachment) { [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %] - +      @@ -513,9 +531,7 @@ function handleWantsAttachment(wants_attachment) { [% END %] - - Attachment: @@ -550,7 +566,9 @@ function handleWantsAttachment(wants_attachment) { + + [% IF user.in_group('editbugs', product.id) %] [% IF use_keywords %] @@ -577,7 +595,7 @@ function handleWantsAttachment(wants_attachment) { [% END %] - + [% IF group.size %]   @@ -604,7 +622,9 @@ function handleWantsAttachment(wants_attachment) { [% END %] + + [%# Form controls for entering additional data about the bug being created. %] [% Hook.process("form") %] -- cgit v1.2.3-24-g4f1b