From 4fa178ae3f0f612cf91b26a2dea498602794be3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Tue, 31 Dec 2013 13:48:41 +0100 Subject: Bug 920681: Remove the cellspacing and cellpadding attributes from tables r/a=justdave --- template/en/default/reports/components.html.tmpl | 26 +++----------- .../en/default/reports/duplicates-table.html.tmpl | 2 +- template/en/default/reports/keywords.html.tmpl | 40 ++++++++-------------- template/en/default/reports/old-charts.html.tmpl | 18 +++++----- template/en/default/reports/report-table.html.tmpl | 14 ++++---- 5 files changed, 36 insertions(+), 64 deletions(-) (limited to 'template/en/default/reports') diff --git a/template/en/default/reports/components.html.tmpl b/template/en/default/reports/components.html.tmpl index 2a5d2399b..c307caedb 100644 --- a/template/en/default/reports/components.html.tmpl +++ b/template/en/default/reports/components.html.tmpl @@ -26,39 +26,23 @@ [% numcols = 2 %] [% END %] - - - - - -
- Select a component to see open [% terms.bugs %] in that component: - - [% product.name FILTER html %] -
- [% product.description FILTER html_light %] -
-
+

[% product.name FILTER html %]

-Components +
[% product.description FILTER html_light %]
+

Select a component to see open [% terms.bugs %] in that component.

- - +
- + [% IF Param("useqacontact") %] [% END %] - - [% FOREACH comp = product.components %] [% INCLUDE describe_comp %] [% END %] -
 Component Default AssigneeDefault QA Contact
[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/reports/duplicates-table.html.tmpl b/template/en/default/reports/duplicates-table.html.tmpl index 45cf8c394..0484c8fcd 100644 --- a/template/en/default/reports/duplicates-table.html.tmpl +++ b/template/en/default/reports/duplicates-table.html.tmpl @@ -53,7 +53,7 @@ [% base_args_string = base_args.join('&') %] [% IF bugs.size %] - +
[% FOREACH column = columns %] diff --git a/template/en/default/reports/keywords.html.tmpl b/template/en/default/reports/keywords.html.tmpl index b9a2fd795..598979d33 100644 --- a/template/en/default/reports/keywords.html.tmpl +++ b/template/en/default/reports/keywords.html.tmpl @@ -12,7 +12,6 @@ # name: the name of the keyword # description: keyword description. Can contain some limited HTML code. # bug_count: number of bugs with that keyword - # caneditkeywords: boolean. True if this user can edit keywords %] [% PROCESS global/header.html.tmpl @@ -20,27 +19,19 @@ style_urls = ['skins/standard/admin.css'] %] -[% FOREACH keyword = keywords %] - [% IF loop.index % 50 == 0 %] - [% IF loop.index != 0 %] -
- [% END %] - - - - - - - - - [% END %] +
NameDescriptionOpen [% terms.Bugs %]Total [% terms.Bugs %]
+ + + + + + + [% FOREACH keyword = keywords %] - + - - -[% END %] - -[% IF keywords.size > 0 %] -
NameDescriptionOpen [% terms.Bugs %]Total [% terms.Bugs %]
- [% keyword.name FILTER html %] - [% keyword.name FILTER html %] [% keyword.description FILTER html_light %] + [% IF keyword.bug_count > 0 %] Search @@ -48,7 +39,7 @@ none [% END %] + [% IF keyword.bug_count > 0 %] [% keyword.bug_count %] @@ -57,13 +48,10 @@ [% END %]
-[% END %] + [% END %] + -[% IF caneditkeywords %] +[% IF user.in_group("editkeywords") %]

Edit keywords.

diff --git a/template/en/default/reports/old-charts.html.tmpl b/template/en/default/reports/old-charts.html.tmpl index 29098c160..96e387b78 100644 --- a/template/en/default/reports/old-charts.html.tmpl +++ b/template/en/default/reports/old-charts.html.tmpl @@ -15,19 +15,20 @@ [% PROCESS global/header.html.tmpl title = "$terms.Bug Charts" h1 = "Welcome to the $terms.Bugzilla Charting Kitchen" + style_urls = ['skins/standard/reports.css'] doc_section = "reporting.html#charts" %] -
- [% IF url_image %] +[% IF url_image %] +
-
- [% ELSE %] +
+[% ELSE %]
- +
- -
Product: +
Chart datasets: +
- [% END %] -
+[% END %] [% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 927a38917..abf770f29 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -141,7 +141,7 @@ YAHOO.util.Event.addListener(window, "load", function() { - + [% col_field_disp FILTER html %] @@ -158,7 +158,7 @@ YAHOO.util.Event.addListener(window, "load", function() { [% row_idx = 0 %] [% total_key = '-total-' %]
- +
[% IF col_field %] @@ -182,14 +182,14 @@ YAHOO.util.Event.addListener(window, "load", function() { [% FOREACH row = row_names %] [% row_idx = 1 - row_idx %] - [% FOREACH col = col_names %] [% NEXT IF col == "" %] [% col_idx = 1 - col_idx %] - [% END %] -
+ [% PROCESS value_display value = row field = row_field %] + [% IF data.$tbl.$col.$row AND data.$tbl.$col.$row > 0 %] [% END %] - + @@ -216,14 +216,14 @@ YAHOO.util.Event.addListener(window, "load", function() { [% FOREACH col = col_names %] [% NEXT IF col == "" %] - + [% data.$tbl.$col.$total_key OR 0 FILTER html %] +