[%# 1.0@bugzilla.org %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Gervase Markham # Ville Skyttä # Shane H. W. Travis # Marc Schumann # Akamai Technologies # Max Kanat-Alexander #%] [% PROCESS "global/field-descs.none.tmpl" %] [% title = BLOCK %]Enter [% terms.Bug %]: [% product.name FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title style_urls = [ 'skins/standard/create_attachment.css' ] javascript_urls = [ "js/attachment.js" ] %]
[%# We can't use the select block in these two cases for various reasons. %] [% sel = { description => 'Severity', name => 'bug_severity' } %] [% INCLUDE select %] [% sel = { description => 'Platform', name => 'rep_platform' } %] [% INCLUDE select %] [% IF Param('letsubmitterchoosepriority') %] [% sel = { description => 'Priority', name => 'priority' } %] [% INCLUDE select %] [% ELSE %] [% END %] [% sel = { description => 'OS', name => 'op_sys' } %] [% INCLUDE select %] [% IF Param('usetargetmilestone') && Param('letsubmitterchoosemilestone') %] [% sel = { description => 'Target Milestone', name => 'target_milestone' } %] [% INCLUDE select %] [% END %] [% IF bug_status.size <= 1 %] [% ELSE %] [% sel = { description => 'Initial State', name => 'bug_status' } %] [% INCLUDE select %] [% END %] [%# Calculate the number of rows we can use for flags %] [% num_rows = 6 + (Param("useqacontact") ? 1 : 0) + (user.in_group(Param('timetrackinggroup')) ? 3 : 0) + (Param("usebugaliases") ? 1 : 0) %] [% IF Param("useqacontact") %] [% END %] [% IF user.in_group(Param('timetrackinggroup')) %] [% END %] [% IF Param("usebugaliases") %] [% END %] [% USE Bugzilla %] [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1, enter_bug => 1 }) %] [% SET value = ${field.name} IF ${field.name}.defined %] [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %] [% END %] [% IF Param("insidergroup") && user.in_group(Param("insidergroup")) %] [% END %] [% IF user.in_group('editbugs', product.id) %] [% IF use_keywords %] [% END %] [% END %] [%# Form controls for entering additional data about the bug being created. %] [% Hook.process("form") %] [% UNLESS (Param('defaultplatform') && Param('defaultopsys')) %] [% END %]
  [%# Migration note: The following file corresponds to the old Param # 'entryheaderhtml' #%] [% INCLUDE 'bug/create/user-message.html.tmpl' %]
   
Reporter: [% user.login FILTER html %] Product: [% product.name FILTER html %]
Version: Component:
   
 
   
Initial State: [% status_descs.${default.bug_status} FILTER html %]  [% IF product.flag_types.bug.size > 0 %] [% PROCESS "flag/list.html.tmpl" flag_types = product.flag_types.bug any_flags_requesteeble = 1 flag_table_id = "bug_flags" %] [% END %]
Assign To: [% INCLUDE global/userselect.html.tmpl name => "assigned_to" value => assigned_to disabled => assigned_to_disabled size => 32 emptyok => 1 %]
QA Contact: [% INCLUDE global/userselect.html.tmpl name => "qa_contact" value => qa_contact disabled => qa_contact_disabled size => 32 emptyok => 1 %]
Cc: [% INCLUDE global/userselect.html.tmpl name => "cc" value => cc disabled => cc_disabled size => 45 multiple => 5 %]
Default CC:
 
Estimated Hours:
Deadline: (YYYY-MM-DD)
 
Alias:
URL:
Summary:
Description: [% defaultcontent = BLOCK %] [% IF cloned_bug_id %] +++ This [% terms.bug %] was initially created as a clone of [% terms.Bug %] #[% cloned_bug_id %] +++ [% END %] [%-# We are within a BLOCK. The comment will be correctly HTML-escaped # by global/textarea.html.tmpl. So we must not escape the comment here. %] [% comment FILTER none %] [%- END %] [% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment' minrows = 10 maxrows = 25 cols = constants.COMMENT_COLS defaultcontent = defaultcontent %]
  
Attachment:
Add an attachment [% PROCESS attachment/createformcontents.html.tmpl flag_types = product.flag_types.attachment any_flags_requesteeble = 1 flag_table_id ="attachment_flags" %]
Keywords: (optional)
Depends on:
Blocks:
[% IF group.size %]
Only users in all of the selected groups can view this [% terms.bug %]:
(Leave all boxes unchecked to make this a public [% terms.bug %].)

[% FOREACH g = group %]     
[% END %]
[% END %]
    

We've made a guess at your [% IF Param('defaultplatform') %] operating system. Please check it [% ELSIF Param('defaultopsys') %] platform. Please check it [% ELSE %] operating system and platform. Please check them [% END %] and, if we got it wrong, email [%+ Param('maintainer') %].
[%# Links or content with more information about the bug being created. %] [% Hook.process("end") %] [% PROCESS global/footer.html.tmpl %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK select %] [% IF sel.description %] [% sel.description %]: [% END %] [% END %]