Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
e008d255
Commit
e008d255
authored
Nov 19, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 179876: Labels the "Requestee" field to reduce confusion about its purpose.
r=bbaetz a=myk
parent
880bfceb
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
53 additions
and
36 deletions
+53
-36
attachment.cgi
attachment.cgi
+1
-0
bug_form.pl
bug_form.pl
+1
-0
edit_bug.css
css/edit_bug.css
+1
-0
edit.html.tmpl
template/en/default/attachment/edit.html.tmpl
+1
-2
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+0
-1
list.html.tmpl
template/en/default/flag/list.html.tmpl
+49
-33
No files found.
attachment.cgi
View file @
e008d255
...
...
@@ -563,6 +563,7 @@ sub edit
'attach_id'
=>
$::FORM
{
'id'
}
});
}
$vars
->
{
'flag_types'
}
=
$flag_types
;
$vars
->
{
'any_flags_requesteeble'
}
=
grep
(
$_
->
{
'is_requesteeble'
},
@$flag_types
);
# Define the variables and functions that will be passed to the UI template.
$vars
->
{
'attachid'
}
=
$::FORM
{
'id'
};
...
...
bug_form.pl
View file @
e008d255
...
...
@@ -217,6 +217,7 @@ sub show_bug {
'target_type'
=>
'bug'
});
}
$vars
->
{
'flag_types'
}
=
$flag_types
;
$vars
->
{
'any_flags_requesteeble'
}
=
grep
(
$_
->
{
'is_requesteeble'
},
@$flag_types
);
# The number of types of flags that can be set on attachments to this bug
# and the number of flags on those attachments. One of these counts must be
...
...
css/edit_bug.css
View file @
e008d255
.bz_private
{
color
:
darkred
;
background
:
#f3eeee
;
}
table
#flags
th
,
table
#flags
td
{
vertical-align
:
baseline
;
text-align
:
left
;
}
template/en/default/attachment/edit.html.tmpl
View file @
e008d255
...
...
@@ -33,7 +33,7 @@
table.attachment_info td { text-align: left; vertical-align: top; }
#noview { text-align: left; vertical-align: center; }
table#flags th, table#flags td { font-size: small; vertical-align: baseline; }
table#flags th, table#flags td { font-size: small; vertical-align: baseline;
text-align: left;
}
"
%]
...
...
@@ -173,7 +173,6 @@
[% END %]
[% IF flag_types.size > 0 %]
<b>
Flags:
</b><br>
[% PROCESS "flag/list.html.tmpl" bug_id=bugid attach_id=attachid %]
<br>
[% END %]
...
...
template/en/default/bug/edit.html.tmpl
View file @
e008d255
...
...
@@ -246,7 +246,6 @@ function updateRemainingTime() {
</td>
<td rowspan="4" colspan="2" valign="top">
[% IF flag_types.size > 0 %]
<b>Flags:</b><br>
[% PROCESS "flag/list.html.tmpl" %]
[% END %]
</td>
...
...
template/en/default/flag/list.html.tmpl
View file @
e008d255
...
...
@@ -68,6 +68,16 @@
#%]
<table id="flags">
<tr>
<th colspan="3">
Flags:
</th>
[% IF any_flags_requesteeble %]
<th>
Requestee:
</th>
[% END %]
</tr>
[%# Step 1: Display every flag type (except inactive types with no flags). %]
[% FOREACH type = flag_types %]
...
...
@@ -96,19 +106,21 @@
[% END %]
</select>
</td>
<td>
[% IF type.is_active && type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee-[% flag.id %]"
name="requestee-[% flag.id %]"
[% IF flag.status == "?" && flag.requestee %]
value="[% flag.requestee.email FILTER html %]"
[% END %]
>)
</span>
[% END %]
</td>
[% IF any_flags_requesteeble %]
<td>
[% IF type.is_active && type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee-[% flag.id %]"
name="requestee-[% flag.id %]"
[% IF flag.status == "?" && flag.requestee %]
value="[% flag.requestee.email FILTER html %]"
[% END %]
>)
</span>
[% END %]
</td>
[% END %]
</tr>
[% END %]
...
...
@@ -116,7 +128,7 @@
[% IF (!type.flags || type.flags.size == 0) && type.is_active %]
<tr>
<td> </td>
<td>[% type.name %]</td>
<td>[% type.name
FILTER html
%]</td>
<td>
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
onchange="toggleRequesteeField(this);">
...
...
@@ -128,15 +140,17 @@
[% END %]
</select>
</td>
<td>
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
name="requestee_type-[% type.id %]">)
</span>
[% END %]
</td>
[% IF any_flags_requesteeble %]
<td>
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
name="requestee_type-[% type.id %]">)
</span>
[% END %]
</td>
[% END %]
</tr>
[% END %]
[% END %]
...
...
@@ -149,7 +163,7 @@
[% separator_displayed = 1 %]
[% END %]
<tr>
<td colspan="2">addl. [% type.name %]</td>
<td colspan="2">addl. [% type.name
FILTER html
%]</td>
<td>
<select id="flag_type-[% type.id %]" name="flag_type-[% type.id %]"
onchange="toggleRequesteeField(this);">
...
...
@@ -161,15 +175,17 @@
[% END %]
</select>
</td>
<td>
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
name="requestee_type-[% type.id %]">)
</span>
[% END %]
</td>
[% IF any_flags_requesteeble %]
<td>
[% IF type.is_requesteeble %]
<span style="white-space: nowrap;">
(<input type="text" size="8" maxlength="255"
id="requestee_type-[% type.id %]"
name="requestee_type-[% type.id %]">)
</span>
[% END %]
</td>
[% END %]
</tr>
[% END %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment