From: Dylan William Hardison Date: Wed, 15 May 2019 18:53:10 +0000 (-0400) Subject: Bug 1549637 - Homepage link on the global header is wrong X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96794c429d269d95498999e9d3d90b5c50c56b82;p=thirdparty%2Fbugzilla.git Bug 1549637 - Homepage link on the global header is wrong --- diff --git a/extensions/BMO/template/en/default/bug/create/create-finance.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-finance.html.tmpl index 38c0ac74d..59476fa70 100644 --- a/extensions/BMO/template/en/default/bug/create/create-finance.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-finance.html.tmpl @@ -97,14 +97,14 @@ diff --git a/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl index aba8b3981..a45917ead 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mdn.html.tmpl @@ -231,13 +231,13 @@ strong.required:before {

Component
diff --git a/extensions/BMO/template/en/default/global/choose-product.html.tmpl b/extensions/BMO/template/en/default/global/choose-product.html.tmpl index 405812869..f2269360b 100644 --- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl +++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl @@ -157,15 +157,15 @@ [% ELSE %] - [% FOREACH c = classifications %] - [% IF c.object %] + [% FOREACH cls = classifications %] + [% IF cls.object %] - - + + [% END %] - [% FOREACH p = c.products %] + [% FOREACH p = cls.products %] [% class = "" %] [% has_entry_groups = 0 %] [% FOREACH gid = p.group_controls.keys %] @@ -219,8 +219,8 @@ [%###########################################################################%] [% BLOCK easyproduct %] - [% FOREACH c = classifications %] - [% FOREACH p = c.products %] + [% FOREACH cls = classifications %] + [% FOREACH p = cls.products %] [% IF p.name == name %]

diff --git a/extensions/BMO/template/en/default/pages/triage_owners.html.tmpl b/extensions/BMO/template/en/default/pages/triage_owners.html.tmpl index f8a3504b5..be094402f 100644 --- a/extensions/BMO/template/en/default/pages/triage_owners.html.tmpl +++ b/extensions/BMO/template/en/default/pages/triage_owners.html.tmpl @@ -102,13 +102,13 @@

- [% FOREACH c IN r.bug_counts %] + [% FOREACH count IN r.bug_counts %] diff --git a/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl b/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl index cdd96c381..8c67961c9 100644 --- a/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl +++ b/extensions/BMO/template/en/default/pages/triage_reports.html.tmpl @@ -28,12 +28,12 @@ var cpts = new Array(); [% n = 1 %] [% FOREACH p = user.get_selectable_products %] cpts['[% n FILTER js %]'] = [ - [%- FOREACH c = p.components %]'[% c.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH comp = p.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% n = n+1 %] [% END %] var selected_components = [ - [%- FOREACH c = input.component %]'[% c FILTER js %]' + [%- FOREACH comp = input.component %]'[% comp FILTER js %]' [%- ',' UNLESS loop.last %] [%- END ~%] ]; [% END %] diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 260b99f76..55bea4c6a 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -154,8 +154,8 @@ Other Mozilla products which aren't listed here [% caption = name %] [% END %] [% IF !desc %] - [% FOREACH c = classifications %] - [% FOREACH p = c.products %] + [% FOREACH cls = classifications %] + [% FOREACH p = cls.products %] [% IF p.name == name %] [% desc = p.description %] [% LAST %] @@ -197,18 +197,18 @@ Other Mozilla products which aren't listed here %]

[% c.object.name FILTER html %]

[%+ c.object.description FILTER html_light %]

[% cls.object.name FILTER html %]

[%+ cls.object.description FILTER html_light %]
[% r.product FILTER html %] Owner - [% IF c.key == "total"%] + [% IF count.key == "total"%] Total [% ELSE %] - + [% END %] @@ -129,16 +129,16 @@ None [% END %] - [% FOREACH c IN r.bug_counts %] + [% FOREACH count IN r.bug_counts %] - [% IF c.value %] + [% IF count.value %] [% END %] - [%~ c.value FILTER html ~%] - [% IF c.value %] + [%~ count.value FILTER html ~%] + [% IF count.value %] [% END %]
-[% FOREACH c = classifications %] - [% IF c.object %] +[% FOREACH cls = classifications %] + [% IF cls.object %] [% END %] - [% FOREACH p = c.products %] + [% FOREACH p = cls.products %]
- [% c.object.name FILTER html %]:  + [% cls.object.name FILTER html %]:  - [% c.object.description FILTER html_light %] + [% cls.object.description FILTER html_light %]
diff --git a/extensions/Review/template/en/default/hook/global/header-start.html.tmpl b/extensions/Review/template/en/default/hook/global/header-start.html.tmpl index af2f31d31..87526d965 100644 --- a/extensions/Review/template/en/default/hook/global/header-start.html.tmpl +++ b/extensions/Review/template/en/default/hook/global/header-start.html.tmpl @@ -64,10 +64,10 @@ ], [% ELSE %] [%# all components (create bug) %] - [% FOREACH c = product_obj.components %] - [% NEXT UNLESS c.reviewers %] - '[% c.name FILTER js %]': [ - [% FOREACH u = c.reviewers_objs %] + [% FOREACH comp = product_obj.components %] + [% NEXT UNLESS comp.reviewers %] + '[% comp.name FILTER js %]': [ + [% FOREACH u = comp.reviewers_objs %] [% NEXT IF u.id == user.id %] [% PROCESS reviewer %][% "," UNLESS loop.last %] [% END %] diff --git a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl index d1cdf48f4..224805871 100644 --- a/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/pages/tracking_flags_admin_edit.html.tmpl @@ -14,11 +14,11 @@ var cpts = new Array(); [% n = 1 %] [% FOREACH p = user.get_selectable_products %] cpts['[% n FILTER js %]'] = [ - [%- FOREACH c = p.components %]'[% c.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [%- FOREACH comp = p.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% n = n+1 %] [% END %] var selected_components = [ - [%- FOREACH c = input.component %]'[% c FILTER js %]' + [%- FOREACH comp = input.component %]'[% comp FILTER js %]' [%- ',' UNLESS loop.last %] [%- END ~%] ]; [% END %] diff --git a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl index 6079ec616..3ec91ad3c 100644 --- a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl @@ -34,8 +34,8 @@