From 4fa178ae3f0f612cf91b26a2dea498602794be3b Mon Sep 17 00:00:00 2001 From: Frédéric Buclin 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/account/prefs/email.html.tmpl | 2 +- .../default/account/prefs/saved-searches.html.tmpl | 83 +++------ .../en/default/account/prefs/settings.html.tmpl | 2 +- .../en/default/admin/classifications/add.html.tmpl | 3 +- .../en/default/admin/classifications/del.html.tmpl | 47 +++-- .../default/admin/classifications/edit.html.tmpl | 9 +- .../admin/classifications/reclassify.html.tmpl | 43 ++--- .../default/admin/classifications/select.html.tmpl | 27 ++- .../admin/components/confirm-delete.html.tmpl | 168 +++++++++--------- .../en/default/admin/components/create.html.tmpl | 11 +- .../default/admin/components/edit-common.html.tmpl | 12 +- .../en/default/admin/components/edit.html.tmpl | 33 ++-- template/en/default/admin/confirm-action.html.tmpl | 53 +++--- .../admin/custom_fields/confirm-delete.html.tmpl | 34 ++-- .../admin/custom_fields/edit-common.html.tmpl | 16 +- .../admin/fieldvalues/confirm-delete.html.tmpl | 58 +++---- .../en/default/admin/fieldvalues/create.html.tmpl | 5 +- .../en/default/admin/fieldvalues/edit.html.tmpl | 10 +- template/en/default/admin/flag-type/edit.html.tmpl | 2 +- template/en/default/admin/flag-type/list.html.tmpl | 68 ++++---- template/en/default/admin/groups/create.html.tmpl | 67 +++---- template/en/default/admin/groups/delete.html.tmpl | 25 ++- template/en/default/admin/groups/edit.html.tmpl | 184 +++++++++----------- .../admin/keywords/confirm-delete.html.tmpl | 21 ++- .../en/default/admin/keywords/create.html.tmpl | 9 +- template/en/default/admin/keywords/edit.html.tmpl | 3 +- .../admin/milestones/confirm-delete.html.tmpl | 52 +++--- .../en/default/admin/milestones/create.html.tmpl | 3 +- .../en/default/admin/milestones/edit.html.tmpl | 10 +- .../en/default/admin/params/editparams.html.tmpl | 15 +- .../admin/products/confirm-delete.html.tmpl | 115 ++++++------ .../en/default/admin/products/create.html.tmpl | 2 +- template/en/default/admin/products/edit.html.tmpl | 39 +++-- .../admin/products/groupcontrol/edit.html.tmpl | 6 +- template/en/default/admin/settings/edit.html.tmpl | 67 +++---- .../default/admin/users/responsibilities.html.tmpl | 2 +- .../admin/versions/confirm-delete.html.tmpl | 54 +++--- .../en/default/admin/versions/create.html.tmpl | 3 +- template/en/default/admin/versions/edit.html.tmpl | 20 ++- .../en/default/attachment/confirm-delete.html.tmpl | 40 ++--- template/en/default/attachment/diff-file.html.tmpl | 2 +- template/en/default/attachment/list.html.tmpl | 8 +- template/en/default/bug/activity/table.html.tmpl | 8 +- template/en/default/bug/comments.html.tmpl | 3 +- .../en/default/bug/create/create-guided.html.tmpl | 193 +++++++-------------- template/en/default/bug/edit.html.tmpl | 10 +- .../bug/process/verify-new-product.html.tmpl | 16 +- template/en/default/bug/summarize-time.html.tmpl | 10 +- template/en/default/filterexceptions.pl | 1 - template/en/default/global/code-error.html.tmpl | 15 +- .../en/default/global/confirm-user-match.html.tmpl | 22 +-- template/en/default/global/footer.html.tmpl | 27 +-- template/en/default/global/header.html.tmpl | 109 +++++------- template/en/default/global/tabs.html.tmpl | 2 +- template/en/default/global/user-error.html.tmpl | 12 +- template/en/default/list/edit-multiple.html.tmpl | 12 +- template/en/default/list/list.html.tmpl | 1 - template/en/default/list/quips.html.tmpl | 13 +- template/en/default/list/table.html.tmpl | 2 +- template/en/default/pages/quicksearch.html.tmpl | 4 +- template/en/default/pages/release-notes.html.tmpl | 10 +- template/en/default/pages/release-notes3.html.tmpl | 96 ++++++---- 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 +- template/en/default/request/queue.html.tmpl | 2 +- .../en/default/search/search-specific.html.tmpl | 2 +- 69 files changed, 973 insertions(+), 1130 deletions(-) (limited to 'template') diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index 9a5f22a8c..a085058c7 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -172,7 +172,7 @@ document.write(' +
When my relationship to this [% terms.bug %] is: diff --git a/template/en/default/account/prefs/saved-searches.html.tmpl b/template/en/default/account/prefs/saved-searches.html.tmpl index 86df1e277..33df92255 100644 --- a/template/en/default/account/prefs/saved-searches.html.tmpl +++ b/template/en/default/account/prefs/saved-searches.html.tmpl @@ -31,57 +31,38 @@

Your saved searches are as follows:

- - - - - - - +
- Search - - Run - - Edit - - Forget - - Show in - Footer -
+ + + + + + [% may_share = user.in_group(Param('querysharegroup')) && queryshare_groups.size %] [% IF may_share %] - + [% END %] [% Hook.process('saved-header') %] + - - + + [% IF may_share %] - + [% END %] [% Hook.process('saved-row') %] + [% FOREACH q = user.queries %] @@ -102,7 +83,7 @@ [% issue_hash_token([q.id, q.name]) FILTER uri %]">Forget [% END %] -
SearchRunEditForgetShow in Footer - Share With a Group - Share With a Group
My [% terms.Bugs %] [% filtered_username = user.login FILTER uri %] Run -   - -   - - + - — -
[% q.name FILTER html %] + You may use these searches saved and shared by others:

- - - - - - - - +
- Search - - Shared By - - Shared To - - Run - - Edit - - Show in - Footer -
+ + + + + + + + [% FOREACH q = user.queries_available %] @@ -185,7 +154,7 @@ Edit -
SearchShared ByShared ToRunEditShow in Footer
[% q.name FILTER html %] + [% END %] - +
[% FOREACH name = setting_names %] [% default_name = name _ '-isdefault' %] [% default_val = settings.${name}.default_value %] diff --git a/template/en/default/admin/classifications/add.html.tmpl b/template/en/default/admin/classifications/add.html.tmpl index d818d3166..d56275aa2 100644 --- a/template/en/default/admin/classifications/add.html.tmpl +++ b/template/en/default/admin/classifications/add.html.tmpl @@ -8,10 +8,11 @@ [% PROCESS global/header.html.tmpl title = "Add new classification" + style_urls = ['skins/standard/admin.css'] %] -
+
[% PROCESS "admin/classifications/edit-common.html.tmpl" %] diff --git a/template/en/default/admin/classifications/del.html.tmpl b/template/en/default/admin/classifications/del.html.tmpl index f99d29632..24a39b4b6 100644 --- a/template/en/default/admin/classifications/del.html.tmpl +++ b/template/en/default/admin/classifications/del.html.tmpl @@ -11,30 +11,29 @@ style_urls = ['skins/standard/admin.css'] %] -
- - - - - - - - - - - - - - - - - +
PartValue
Classification:[% classification.name FILTER html %]
Description: - [% IF classification.description %] - [% classification.description FILTER html_light %] - [% ELSE %] - description missing - [% END %] -
Sortkey:[% classification.sortkey FILTER html %]
+ + + + + + + + + + + + + + + +
FieldValue
Classification[% classification.name FILTER html %]
Description + [% IF classification.description %] + [% classification.description FILTER html_light %] + [% ELSE %] + description missing + [% END %] +
Sortkey[% classification.sortkey FILTER html %]

Confirmation

diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl index 68fd046f2..b1f6ce225 100644 --- a/template/en/default/admin/classifications/edit.html.tmpl +++ b/template/en/default/admin/classifications/edit.html.tmpl @@ -8,14 +8,15 @@ [% PROCESS global/header.html.tmpl title = "Edit classification" + style_urls = ['skins/standard/admin.css'] %] - +
[% PROCESS "admin/classifications/edit-common.html.tmpl" %] - + - + - + - + [% IF Param('useqacontact') %] - + [% END %] - + diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 748175b75..9998845e2 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -18,45 +18,44 @@ [% END %] [% PROCESS global/header.html.tmpl title = title + style_urls = ['skins/standard/admin.css'] yui = [ 'autocomplete' ] javascript_urls = [ "js/field.js" ] %] -
Edit Products: @@ -25,8 +26,8 @@ [% FOREACH product = classification.products %] - - + + [% END %]
[% product.name FILTER html %][% product.description FILTER html_light %][% product.name FILTER html %][% product.description FILTER html_light %]
diff --git a/template/en/default/admin/classifications/reclassify.html.tmpl b/template/en/default/admin/classifications/reclassify.html.tmpl index ac4a09b14..b230d670c 100644 --- a/template/en/default/admin/classifications/reclassify.html.tmpl +++ b/template/en/default/admin/classifications/reclassify.html.tmpl @@ -8,38 +8,39 @@ [% PROCESS global/header.html.tmpl title = "Reclassify products" + style_urls = ['skins/standard/admin.css'] %] - +
- - - + + + - - - + + - - - + + + - + - - - + + + - + + - - + +
Classification:[% classification.name FILTER html %]
[% classification.name FILTER html %]
Description: + [% IF classification.description %] [% classification.description FILTER html_light %] [% ELSE %] description missing [% END %]
Sortkey:[% classification.sortkey FILTER html %]
[% classification.sortkey FILTER html %]
Products:Other ClassificationsOther Classifications This Classification
This Classification
- + +

+
diff --git a/template/en/default/admin/classifications/select.html.tmpl b/template/en/default/admin/classifications/select.html.tmpl index 02a3cd413..ffe183cfa 100644 --- a/template/en/default/admin/classifications/select.html.tmpl +++ b/template/en/default/admin/classifications/select.html.tmpl @@ -11,9 +11,9 @@ style_urls = ['skins/standard/admin.css'] %] - +
- + @@ -22,26 +22,35 @@ [% FOREACH cl = classifications %] - - + - + [% IF (cl.id == 1) %] - + [% ELSE %] - + [% END %] [%# don't allow user to delete the default id. %] [% IF (cl.id == 1) %] - + [% ELSE %] - + [% END %] [% END %] diff --git a/template/en/default/admin/components/confirm-delete.html.tmpl b/template/en/default/admin/components/confirm-delete.html.tmpl index 6644acca8..9018dcda2 100644 --- a/template/en/default/admin/components/confirm-delete.html.tmpl +++ b/template/en/default/admin/components/confirm-delete.html.tmpl @@ -22,101 +22,96 @@ from '[% product.name FILTER html %]' product style_urls = ['skins/standard/admin.css'] %] -
Edit Classification ...Edit Classification... Description Sortkey Products
[% cl.name FILTER html %] + + + [% cl.name FILTER html %] + + [% IF cl.description %] [% cl.description FILTER html_light %] [% ELSE %] none [% END %] [% cl.sortkey FILTER html %][% cl.sortkey FILTER html %][% cl.product_count FILTER html %][% cl.product_count FILTER html %]reclassify ([% cl.product_count FILTER html %]) + + reclassify ([% cl.product_count FILTER html %]) +  delete + delete +
- - - - - - - - - - - - - - - - -[% IF Param('useqacontact') %] - - - - -[% END %] - - - - - - -[% IF product.description %] - - - - -[% END %] +
FieldValue
Component:[% comp.name FILTER html %]
Component Description:[% comp.description FILTER html_light %]
Default assignee:[% comp.default_assignee.login FILTER html %]
Default QA contact:[% comp.default_qa_contact.login FILTER html %]
Component of Product:[% product.name FILTER html %]
Product Description:[% product.description FILTER html_light %]
+ + + + + + + + + + + + + + + + + + [% IF Param('useqacontact') %] + + + + + [% END %] -[% IF Param('usetargetmilestone') %] - - - - -[% END %] + + + + - - - - - - - - - + [% IF product.description %] + + + + + [% END %] + + [% IF Param('usetargetmilestone') %] + + + + + [% END %] + + + + + + + + +
FieldValue
Component[% comp.name FILTER html %]
Component Description[% comp.description FILTER html_light %]
Default assignee[% comp.default_assignee.login FILTER html %]
Default QA contact[% comp.default_qa_contact.login FILTER html %]
Product Milestone URL: - - [% product.milestone_url FILTER html %] - -
Component of Product[% product.name FILTER html %]
Open for [% terms.bugs %]:[% IF product.is_active && comp.isactive %]Yes[% ELSE %]No[% END %]
[% terms.Bugs %]: -[% IF comp.bug_count %] - [% comp.bug_count %] -[% ELSE %] - None -[% END %] -
Product Description[% product.description FILTER html_light %]
Product Milestone URL + + [% product.milestone_url FILTER html %] +
Open for [% terms.bugs %][% IF product.is_active && comp.isactive %]Yes[% ELSE %]No[% END %]
[% terms.Bugs %] + [% IF comp.bug_count %] + [% comp.bug_count %] + [% ELSE %] + None + [% END %] +

Confirmation

- + [% IF comp.bug_count %] [% IF !Param("allowbugdeletion") %] -

- Sorry, there - - [% IF comp.bug_count > 1 %] - are [% comp.bug_count %] [%+ terms.bugs %] - [% ELSE %] - is [% comp.bug_count %] [%+ terms.bug %] - [% END %] - - outstanding for this component. You must reassign - - [% IF comp.bug_count > 1 %] - those [% terms.bugs %] - [% ELSE %] - that [% terms.bug %] - [% END %] +

+ Sorry, there + [% IF comp.bug_count > 1 %] + are [% comp.bug_count %] [%+ terms.bugs %] + [% ELSE %] + is 1 [% terms.bug %] + [% END %] + outstanding for this component. You must reassign - to another component before you can delete this one. -

+ [% IF comp.bug_count > 1 %] + those [% terms.bugs %] + [% ELSE %] + that [% terms.bug %] + [% END %] + to another component before you can delete this one. +

[% ELSE %] - -
- - There [% IF comp.bug_count > 1 %] +

+ There + [% IF comp.bug_count > 1 %] are [% comp.bug_count %] [%+ terms.bugs %] [% ELSE %] is 1 [% terms.bug %] @@ -124,8 +119,7 @@ from '[% product.name FILTER html %]' product entered for this component! When you delete this component, ALL stored [% terms.bugs %] and their history will be deleted too. -

- +

[% END %] [% END %] diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl index f281160c0..4db4a489c 100644 --- a/template/en/default/admin/components/create.html.tmpl +++ b/template/en/default/admin/components/create.html.tmpl @@ -10,21 +10,22 @@ # product: object; Bugzilla::Product object representing the product to # which the component belongs. #%] - + [% title = BLOCK %]Add component to the [% product.name FILTER html %] product[% END %] [% PROCESS global/header.html.tmpl + title = title + style_urls = ['skins/standard/admin.css'] yui = [ 'autocomplete' ] javascript_urls = [ "js/field.js" ] - title = title %] - +
[% PROCESS "admin/components/edit-common.html.tmpl" %] - +
-
+ diff --git a/template/en/default/admin/components/edit-common.html.tmpl b/template/en/default/admin/components/edit-common.html.tmpl index 6ff4e07e6..00b80baa8 100644 --- a/template/en/default/admin/components/edit-common.html.tmpl +++ b/template/en/default/admin/components/edit-common.html.tmpl @@ -15,12 +15,12 @@ [% DEFAULT desc_name = "description" %]
[% INCLUDE global/textarea.html.tmpl name = desc_name @@ -33,7 +33,7 @@
[% INCLUDE global/userselect.html.tmpl name => "initialowner" @@ -45,7 +45,7 @@
[% INCLUDE global/userselect.html.tmpl name => "initialqacontact" @@ -58,7 +58,7 @@
[% INCLUDE global/userselect.html.tmpl name => "initialcc" @@ -69,7 +69,7 @@ %]
[% IF !Param("usemenuforusers") %] - Enter user names for the CC list as a comma-separated list. + Enter user names for the CC list as a comma-separated list. [% END %]
+
[% PROCESS "admin/components/edit-common.html.tmpl" %] - + - + -
[% terms.Bugs %]:[% terms.Bugs %]: -[% IF comp.bug_count > 0 %] - [% comp.bug_count %] -[% ELSE %] - None -[% END %] + [% IF comp.bug_count > 0 %] + [% comp.bug_count %] + [% ELSE %] + None + [% END %]
- or Delete this component. - + or + Delete this component. [% PROCESS admin/components/footer.html.tmpl diff --git a/template/en/default/admin/confirm-action.html.tmpl b/template/en/default/admin/confirm-action.html.tmpl index e3b9ef5f7..ecc162540 100644 --- a/template/en/default/admin/confirm-action.html.tmpl +++ b/template/en/default/admin/confirm-action.html.tmpl @@ -15,8 +15,9 @@ # if he declines submission. #%] -[% PROCESS global/header.html.tmpl title = "Suspicious Action" - style_urls = ['skins/standard/global.css'] %] +[% PROCESS global/header.html.tmpl + title = "Suspicious Action" +%] [% IF abuser %]
@@ -27,37 +28,27 @@ is incorrect, meaning that it looks like you didn't come from the right page. The following token has been used :

- - [% IF token_action != expected_action %] - - - - - - - - - [% END %] + [% IF token_action != expected_action %] +

+ Action stored: + [%+ token_action FILTER html %] +
+ This action doesn't match the one expected ([% expected_action FILTER html %]). +

+ [% END %] - [% IF abuser != user.identity %] - - - - - - - - - [% END %] -
Action stored:[% token_action FILTER html %]
  - This action doesn't match the one expected ([% expected_action FILTER html %]). -
Generated by:[% abuser FILTER html %]
  - This token has not been generated by you. It is possible that someone - tried to trick you! -
- -

Please report this problem to [%+ Param("maintainer") FILTER html %].

+ [% IF abuser != user.identity %] +

+ Generated by: + [%+ abuser FILTER html %] +
+ This token has not been generated by you. It is possible that someone + tried to trick you! +

+ [% END %]
+ +

Please report this problem to [% Param("maintainer") FILTER html %].

[% ELSE %]
It looks like you didn't come from the right page (you have no valid token for diff --git a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl index 579806137..471d7a1c4 100644 --- a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl +++ b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl @@ -23,23 +23,23 @@ doc_section = "custom-fields.html#delete-custom-fields" %] - - - - - - - - - - - - - - - - - +
FieldValue
Custom Field:[% field.name FILTER html %]
Description:[% field.description FILTER html %]
Type:[% field_types.${field.type} FILTER html %]
+ + + + + + + + + + + + + + + +
FieldValue
Custom Field[% field.name FILTER html %]
Description[% field.description FILTER html %]
Type[% field_types.${field.type} FILTER html %]

Confirmation

diff --git a/template/en/default/admin/custom_fields/edit-common.html.tmpl b/template/en/default/admin/custom_fields/edit-common.html.tmpl index b08b7f23d..f54073cfe 100644 --- a/template/en/default/admin/custom_fields/edit-common.html.tmpl +++ b/template/en/default/admin/custom_fields/edit-common.html.tmpl @@ -12,9 +12,9 @@ [% PROCESS "global/field-descs.none.tmpl" %] - +
- + - + - + - + - + [% ELSE %] -
[% IF field %] [% field.name FILTER html %] @@ -34,7 +34,7 @@
@@ -50,7 +50,7 @@
[% IF field %] [% field_types.${field.type} FILTER html %] @@ -72,7 +72,7 @@
@@ -86,7 +86,7 @@
Long Description:Long Description: [% INCLUDE global/textarea.html.tmpl name = 'long_desc' @@ -147,7 +147,7 @@ Edit legal values for this field. + @@ -164,7 +164,7 @@ [% END %] [% IF !field || field.is_select %] - +