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
27c4d18f
Commit
27c4d18f
authored
Dec 27, 2006
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 364172 - "Wording on showdependencytree.cgi is bad when there are no…
Bug 364172 - "Wording on showdependencytree.cgi is bad when there are no dependencies" [p=reed r=bkor a=justdave]
parent
fe6a4186
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
16 deletions
+19
-16
dependency-tree.html.tmpl
template/en/default/bug/dependency-tree.html.tmpl
+19
-16
No files found.
template/en/default/bug/dependency-tree.html.tmpl
View file @
27c4d18f
...
@@ -58,22 +58,29 @@
...
@@ -58,22 +58,29 @@
[% global.seen = {} %]
[% global.seen = {} %]
[%# Display the tree of bugs that this bug depends on. %]
[%# Display the tree of bugs that this bug depends on. %]
<h3>
<h3>
[% ids.size %]
<a href="show_bug.cgi?id=[% bugid %]">[% terms.Bug %] [%+ bugid %]</a>
[% IF hide_resolved %]
Open [% terms.bugs %]
[% ELSE %]
[% terms.Bugs %]
[%- END %]
that <a href="show_bug.cgi?id=[% bugid %]">[% terms.bug %] [%+ bugid %]</a>
[% IF type == 1 %]
[% IF type == 1 %]
[% tree_name = "dependson_tree" %]
[% tree_name = "dependson_tree" %]
depends on
[% IF ids.size %]
depends on
[% ELSE %]
does not depend on any [% terms.bugs %].
[% END %]
[% ELSIF type == 2 %]
[% ELSIF type == 2 %]
[% tree_name = "blocked_tree" %]
[% tree_name = "blocked_tree" %]
blocks
[% IF ids.size %]
blocks
[% ELSE %]
does not block any [% terms.bugs %].
[% END %]
[% END %]
[% END %]
[% IF ids.size %]
[%+ (ids.size == 1) ? "one" : ids.size %]
[%+ IF hide_resolved %]open[% END %]
[%+ (ids.size == 1) ? terms.bug : terms.bugs %]:
[% END %]
</h3>
</h3>
[% IF ids.size
> 0
%]
[% IF ids.size %]
([% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END -%]
([% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END -%]
<a href="buglist.cgi?bug_id=[% ids.join(",") %]">view as [% terms.bug %] list</a>
<a href="buglist.cgi?bug_id=[% ids.join(",") %]">view as [% terms.bug %] list</a>
[% IF user.groups.editbugs && ids.size > 1 %]
[% IF user.groups.editbugs && ids.size > 1 %]
...
@@ -82,9 +89,6 @@
...
@@ -82,9 +89,6 @@
<ul class="tree">
<ul class="tree">
[% INCLUDE display_tree tree=$tree_name %]
[% INCLUDE display_tree tree=$tree_name %]
</ul>
</ul>
<p>
[% ELSE %]
<p>None</p>
[% END %]
[% END %]
[% END %]
[% END %]
...
@@ -208,7 +212,7 @@
...
@@ -208,7 +212,7 @@
: ( maxdepth ? maxdepth - 1 : realdepth - 1 )
: ( maxdepth ? maxdepth - 1 : realdepth - 1 )
%]">
%]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input type="submit" id="decrase_depth" value=" < "
<input type="submit" id="decr
e
ase_depth" value=" < "
[% "disabled" IF realdepth < 2 || ( maxdepth && maxdepth < 2 ) %]>
[% "disabled" IF realdepth < 2 || ( maxdepth && maxdepth < 2 ) %]>
</form>
</form>
</td>
</td>
...
@@ -241,8 +245,7 @@
...
@@ -241,8 +245,7 @@
[% END %]
[% END %]
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input name="hide_resolved" type="hidden" value="[% hide_resolved %]">
<input type="submit" id="increase_depth" value=" > "
<input type="submit" id="increase_depth" value=" > "
[% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %]
[% "disabled" IF realdepth < 2 || !maxdepth || maxdepth >= realdepth %]>
%]>
</form>
</form>
</td>
</td>
...
...
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