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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
7bf96883
Commit
7bf96883
authored
Oct 20, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 104340 - Changing the UI of the toolbar for hiding bugs in the dependency tree.
Patch by Christian Reis <kiko@async.com.br> r= justdave@syndicomm.com, gerv@mozilla.org
parent
94a744b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
29 deletions
+29
-29
showdependencytree.cgi
showdependencytree.cgi
+29
-29
No files found.
showdependencytree.cgi
View file @
7bf96883
...
...
@@ -283,24 +283,40 @@ sub drawDepForm {
<td bgcolor="$bgcolor">
<!-- depth section -->
Depth:
Max
Depth:
</td>
<td bgcolor="$bgcolor">
</td>
<td bgcolor="$bgcolor">
<form method="get" action="$scriptname"
style="display: inline; margin: 0px;">
<!-- Unlimited button -->
<!-- set to one form -->
<input type="submit" value=" 1 " |
.
(
$realdepth
<
2
||
$maxdepth
==
1
?
"disabled"
:
""
)
.
qq|>
<input name="id" type="hidden" value="$id">
<input name="maxdepth" type="hidden" value="1">
<input name="hide_resolved" type="hidden" value="$hide_resolved">
<input type="submit" value=" Unlimited ">
</form>
</td>
<td bgcolor="$bgcolor">
<form method="get" action="$scriptname"
style="display: inline; margin: 0px;">
Limit to:
<!-- Minus one form
Allow subtracting only when realdepth and maxdepth > 1 -->
<input name="id" type="hidden" value="$id">
<input name="maxdepth" type="hidden" value="|
.
(
$maxdepth
==
1
?
1
:
(
$maxdepth
?
$maxdepth
-
1
:
$realdepth
-
1
)
)
.
qq|">
<input name="hide_resolved" type="hidden" value="$hide_resolved">
<input type="submit" value=" < " |
.
(
$realdepth
<
2
||
(
$maxdepth
&&
$maxdepth
<
2
)
?
"disabled"
:
""
)
.
qq|>
</form>
</td>
<td bgcolor="$bgcolor">
<form method="get" action="$scriptname"
...
...
@@ -313,25 +329,10 @@ sub drawDepForm {
<input name="id" type="hidden" value="$id">
<input name="hide_resolved" type="hidden"
value="$hide_resolved">
<noscript>
<input type="submit" value="Change" |
.
(
$realdepth
<
2
?
"disabled"
:
""
)
.
qq|>
</form>
</td>
<td bgcolor="$bgcolor">
<form method="get" action="$scriptname"
style="display: inline; margin: 0px;">
<!-- Minus one (-1) form
Allow subtracting only when realdepth and maxdepth > 1 -->
<input name="id" type="hidden" value="$id">
<input name="maxdepth" type="hidden" value="|
.
(
$maxdepth
==
1
?
1
:
(
$maxdepth
?
$maxdepth
-
1
:
$realdepth
-
1
)
)
.
qq|">
<input name="hide_resolved" type="hidden" value="$hide_resolved">
<input type="submit" value=" -1 " |
.
(
$realdepth
<
2
||
(
$maxdepth
&&
$maxdepth
<
2
)
?
"disabled"
:
""
)
.
qq|>
</noscript>
</form>
</td>
...
...
@@ -339,14 +340,14 @@ sub drawDepForm {
<form method="get" action="$scriptname"
style="display: inline; margin: 0px;">
<!-- plus one form
+1
<!-- plus one form
Disable button if total depth < 2, or if depth set to unlimited -->
<input name="id" type="hidden" value="$id">
|
.
(
$maxdepth
?
qq|
<input name="maxdepth" type="hidden" value="|
.
(
$maxdepth
+
1
)
.
qq|">|
:
""
)
.
qq|
<input name="hide_resolved" type="hidden" value="$hide_resolved">
<input type="submit" value="
+1
" |
<input type="submit" value="
>
" |
.
(
$realdepth
<
2
||
!
$maxdepth
||
$maxdepth
>=
$realdepth
?
"disabled"
:
""
)
.
qq|>
...
...
@@ -356,12 +357,11 @@ sub drawDepForm {
<form method="get" action="$scriptname"
style="display: inline; margin: 0px;">
<!-- set to one form -->
<input type="submit" value="Set to 1" |
.
(
$realdepth
<
2
||
$maxdepth
==
1
?
"disabled"
:
""
)
.
qq|>
<!-- Unlimited button -->
<input name="id" type="hidden" value="$id">
<input name="maxdepth" type="hidden" value="1">
<input name="hide_resolved" type="hidden" value="$hide_resolved">
<input type="submit" value=" Unlimited ">
</form>
</td>
</tr></table>
...
...
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