From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- template/en/default/bug/dependency-tree.html.tmpl | 56 ++++++++++++----------- 1 file changed, 30 insertions(+), 26 deletions(-) (limited to 'template/en/default/bug/dependency-tree.html.tmpl') diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index 64c452c8b..194691e56 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -3,7 +3,7 @@ # 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 @@ -21,20 +21,23 @@ # Myk Melez #%] -[% PROCESS global/header.html.tmpl - title = "Dependency tree for Bug $bugid" - h1 = "Dependency tree for bug $bugid" +[% INCLUDE global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Dependency tree for $terms.Bug $bugid" + h1 = "Dependency tree for $terms.Bug $bugid" style = "strike { background-color: #d9d9d9; color: #000000; }" %] [% PROCESS depthControlToolbar %] [%# Display the tree of bugs that this bug depends on. %] -

[% hide_resolved ? "Open b" : "B" %]ugs that bug [% bugid %] depends on

+

[% hide_resolved ? "Open $terms.bugs" : "$terms.Bugs" %] + that [% terms.bug %] [% bugid %] depends on

[% IF dependson_ids.size > 0 %] ( [% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END %] - view as bug list + view as [% terms.bug %] list [% IF canedit && dependson_ids.size > 1 %] | change several [% END %]) @@ -45,11 +48,12 @@ [% END %] [%# Display the tree of bugs that this bug blocks. %] -

[% hide_resolved ? "Open b" : "B" %]ugs that bug [% bugid %] blocks

+

[% hide_resolved ? "Open $terms.bugs" : "$terms.Bugs" %] + that [% terms.bug %] [% bugid %] blocks

[% IF blocked_ids.size > 0 %] ( [% IF maxdepth -%]Up to [% maxdepth %] level[% "s" IF maxdepth > 1 %] deep | [% END %] - view as bug list + view as [% terms.bug %] list [% IF canedit && blocked_ids.size > 1 %] | change several [% END %]) @@ -75,16 +79,16 @@ [% dep = tree.$dep_id %]
  • [% "" IF !dep.open %] - [% dep_id %] + [% dep_id %] [[% IF dep.milestone %][% dep.milestone FILTER html %], [% END %] - [% dep.assignee_email FILTER html %]] - + [% dep.assignee_email FILTER html %]] - [% IF dep.seen %] - This bug appears elsewhere in this tree. + This [% terms.bug %] appears elsewhere in this tree. [% ELSE %] [% dep.summary FILTER html %]. [% END %] [% "" IF !dep.open %] - [% INCLUDE display_tree bug_id=dep_id + [% INCLUDE display_tree bug_id=dep_id IF dep.dependencies.size > 0 && !dep.seen %]
  • [% END %] @@ -101,7 +105,7 @@ [%# Hide/show resolved button Swaps text depending on the state of hide_resolved %] -
    [% IF maxdepth %] @@ -124,7 +128,7 @@ [%# set to one form %] - @@ -134,28 +138,28 @@ - - [%# Minus one form + [%# Minus one form Allow subtracting only when realdepth and maxdepth > 1 %] -
    -
    [%# Limit entry form: the button can not do anything when total depth is less than two, so disable it %] - @@ -167,16 +171,16 @@ - - [%# plus one form + [%# plus one form Disable button if total depth < 2, or if depth set to unlimited %] [% IF maxdepth %] [% END %] - = realdepth ? "disabled" : "" %]> @@ -184,12 +188,12 @@ - [%# Unlimited button %] -
    -- cgit v1.2.3-24-g4f1b