[%# 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 # Vaskin Kissoyan #%] [% PROCESS global/variables.none.tmpl %] [% PROCESS "global/field-descs.none.tmpl" %] [% PROCESS bug/time.html.tmpl %]
[%# *** Hardware Reporter Product OS AddCC *** %]
[% IF Param("usebugaliases") %] [% PROCESS input inputname => "alias" size => "20" maxlength => "20" %] [% END %] [% PROCESS select selname => "product" %] [%# *** Component Version CC Priority Severity AssignedTo Milestone *** %] [% PROCESS select selname => "component" %]
[% IF Param('useclassification') && bug.classification_id != 1 %] [[% bug.classification FILTER html %]] [% END %] [% terms.Bug %]#: [% bug.bug_id %]
:
:
:
Status: [% status_descs.${bug.bug_status} FILTER html %]
Resolution: [% get_resolution(bug.resolution) FILTER html %] [% IF bug.resolution == "DUPLICATE" %] of [% terms.bug %] [%+ "${bug.dup_id}" FILTER bug_link(bug.dup_id) %] [% END %]
Assigned To: [% bug.assigned_to.identity FILTER html %]
[% PROCESS select selname => "rep_platform" %] [% PROCESS select selname => "op_sys" %] [% PROCESS select selname => "version" %] [% PROCESS select selname => "priority" %] [% PROCESS select selname = "bug_severity" %] [% IF Param("usetargetmilestone") && bug.target_milestone %] [% PROCESS select selname = "target_milestone" %] [% END %]
:
:
:
:
:
:
[% IF bug.cc %] [% ELSE %] [% END %]
Reporter: [% bug.reporter.identity FILTER html %]
: [% INCLUDE global/userselect.html.tmpl id => "newcc" name => "newcc" value => "" size => 30 multiple => 5 %]
:
[%%]
[%# *** QAContact URL Requests Summary Whiteboard Keywords *** %] [% IF Param('useqacontact') %] [% END %] [% PROCESS input inputname => "bug_file_loc" size => "60" colspan => 5 %] [% PROCESS input inputname => "short_desc" size => "60" colspan => 5 maxlength => 255 %] [% IF Param('usestatuswhiteboard') %] [% PROCESS input inputname => "status_whiteboard" size => "60" colspan => 5 %] [% END %] [% IF use_keywords %] [% END %]
: [% IF bug.check_can_change_field("qa_contact", 0, 1) || !user.id %] [% INCLUDE global/userselect.html.tmpl id => "qa_contact" name => "qa_contact" value => bug.qa_contact.login size => 60 emptyok => 1 %] [% ELSE %] [% IF bug.qa_contact.login && bug.qa_contact.login.length > 60 %] [% bug.qa_contact.login FILTER truncate(60) FILTER html %] [% ELSE %] [% bug.qa_contact.login FILTER html %] [% END %] [% END %]
:
:
:
: [% PROCESS input inputname => "keywords" size => 60 colspan => 5 value => bug.keywords.join(', ') %]
[% IF bug.flag_types.size > 0 %] [% PROCESS "flag/list.html.tmpl" flag_types = bug.flag_types any_flags_requesteeble = bug.any_flags_requesteeble %] [% END %]
[% IF UserInGroup(Param('timetrackinggroup')) %]
Current Est. %Complete Gain
[% PROCESS formattimeunit time_unit=(bug.actual_time + bug.remaining_time) %] [% PROCESS formattimeunit time_unit=bug.actual_time %] + [% PROCESS calculatepercentage act=bug.actual_time rem=bug.remaining_time %] [% PROCESS formattimeunit time_unit=bug.estimated_time - (bug.actual_time + bug.remaining_time) %]
(YYYY-MM-DD)
Summarize time (including time for [% terms.bugs %] blocking this [% terms.bug %])
[% END %] [%# *** Custom Fields *** %] [% USE Bugzilla %] [% FOREACH field = Bugzilla.get_fields({ obsolete => 0, custom => 1 }) %] [% PROCESS bug/field.html.tmpl value=bug.${field.name} %] [% END %]
[%# *** Attachments *** %] [% PROCESS attachment/list.html.tmpl attachments = bug.attachments bugid = bug.bug_id num_attachment_flag_types = bug.num_attachment_flag_types show_attachment_flags = bug.show_attachment_flags %] [%# *** Dependencies Votes *** %] [% PROCESS dependencies dep = { title => "depends on", fieldname => "dependson" } %] [% PROCESS dependencies accesskey = "b" dep = { title => "blocks", fieldname => "blocked" } %]
Show dependency tree [% IF Param('webdotbase') %]
Show dependency graph [% END %]
[% IF bug.use_votes %]
Votes: [% bug.votes %]    Show votes for this [% terms.bug %]    Vote for this [% terms.bug %]
[% END %] [%# *** Comments Groups *** %]
: [% IF Param("insidergroup") && UserInGroup(Param("insidergroup")) %] [% END %]
[% INCLUDE global/textarea.html.tmpl name = 'comment' id = 'comment' minrows = 10 maxrows = 25 cols = constants.COMMENT_COLS %] [% IF NOT bug.cc || NOT bug.cc.contains(user.login) %] [% has_role = bug.user.isreporter || bug.assigned_to.id == user.id || (Param('useqacontact') && bug.qa_contact && bug.qa_contact.id == user.id) %]
[% END %]
[% IF bug.groups.size > 0 %] [% inallgroups = 1 %] [% inagroup = 0 %] [% FOREACH group = bug.groups %] [% SET inallgroups = 0 IF NOT group.ingroup %] [% SET inagroup = 1 IF group.ison %] [% IF NOT group.mandatory %] [% IF NOT emitted_description %] [% emitted_description = 1 %]
Only users in all of the selected groups can view this [% terms.bug %]:
(Unchecking all boxes makes this a more public [% terms.bug %].)

[% END %]     
[% END %] [% END %] [% IF NOT inallgroups %] Only members of a group can change the visibility of [% terms.abug %] for that group
[% END %] [% IF inagroup %]

Users in the roles selected below can always view this [% terms.bug %]:
(The assignee [% IF (Param('useqacontact')) %] and QA contact [% END %] can always see [% terms.abug %], and this section does not take effect unless the [% terms.bug %] is restricted to at least one group.)

[% END %] [% END %] [% PROCESS bug/knob.html.tmpl %] [%# *** Additional Comments *** %]
[% PROCESS bug/comments.html.tmpl comments = bug.longdescs mode = "edit" %]
[%############################################################################%] [%# Block for dependencies #%] [%############################################################################%] [% BLOCK dependencies %] : [% FOREACH depbug = bug.${dep.fieldname} %] [% depbug FILTER bug_link(depbug) %][% " " %] [% END %] [% IF bug.check_can_change_field(dep.fieldname, 0, 1) || !user.id %] [% ELSE %] [% END %] [% END %] [%############################################################################%] [%# Block for SELECT fields #%] [%############################################################################%] [% BLOCK select %] [% IF bug.check_can_change_field(selname, 0, 1) || !user.id %] [% ELSE %] [% bug.${selname} FILTER html %] [% END %] [% END %] [%############################################################################%] [%# Block for INPUT fields #%] [%############################################################################%] [% BLOCK input %] [% val = value ? value : bug.$inputname %] [% IF bug.check_can_change_field(inputname, 0, 1) || !user.id %] [% ELSE %] [% IF size && val.length > size %] [% val FILTER truncate(size) FILTER html %] [% ELSE %] [% val FILTER html %] [% END %] [% END %] [% maxlength = 0 %] [% colspan = 0 %] [% size = 0 %] [% value = undef %] [% END %]