From 2b574f4d63e4ada0db82ca5a56773b3acf771d78 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Tue, 7 Jan 2014 11:42:19 +0100 Subject: Bug 840407: Remove the "align" and "valign" attributes r/a=justdave --- .../en/default/admin/components/list.html.tmpl | 2 +- .../admin/components/select-product.html.tmpl | 2 +- .../admin/flag-type/confirm-delete.html.tmpl | 29 ++++++--------- template/en/default/admin/keywords/list.html.tmpl | 2 +- .../en/default/admin/milestones/list.html.tmpl | 2 +- .../admin/milestones/select-product.html.tmpl | 2 +- .../en/default/admin/params/editparams.html.tmpl | 24 ++++++------- template/en/default/admin/params/index.html.tmpl | 42 +++++++++------------- .../admin/products/list-classifications.html.tmpl | 2 +- template/en/default/admin/products/list.html.tmpl | 2 +- template/en/default/admin/table.html.tmpl | 8 ++--- template/en/default/admin/versions/list.html.tmpl | 2 +- .../admin/versions/select-product.html.tmpl | 2 +- .../en/default/admin/workflow/comment.html.tmpl | 15 ++++---- template/en/default/admin/workflow/edit.html.tmpl | 14 ++++---- 15 files changed, 62 insertions(+), 88 deletions(-) (limited to 'template/en/default/admin') diff --git a/template/en/default/admin/components/list.html.tmpl b/template/en/default/admin/components/list.html.tmpl index 949f56b1e..91808fbae 100644 --- a/template/en/default/admin/components/list.html.tmpl +++ b/template/en/default/admin/components/list.html.tmpl @@ -69,7 +69,7 @@ [% columns.push({ name => 'bug_count' heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => bug_count_contentlink }) %] diff --git a/template/en/default/admin/components/select-product.html.tmpl b/template/en/default/admin/components/select-product.html.tmpl index 3651ec570..a152415c3 100644 --- a/template/en/default/admin/components/select-product.html.tmpl +++ b/template/en/default/admin/components/select-product.html.tmpl @@ -35,7 +35,7 @@ [% columns.push({ name => 'bug_count' heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => "buglist.cgi?product=%%name%%" }) %] diff --git a/template/en/default/admin/flag-type/confirm-delete.html.tmpl b/template/en/default/admin/flag-type/confirm-delete.html.tmpl index 70f5efb3d..74ceb2201 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -10,6 +10,7 @@ [% PROCESS global/header.html.tmpl title = title + style_urls = ['skins/standard/admin.css'] doc_section = "flags-overview.html#flags-delete" %] @@ -26,24 +27,14 @@ in the database but will not appear in the [% terms.Bugzilla %] UI.

- - - - - - - - -
- Do you really want to delete this type? -
- Yes, delete - - - - No, don't delete - -
+

+ Do you really want to delete this type? +

+ +

+ Yes, delete - + No, don't delete +

[% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/admin/keywords/list.html.tmpl b/template/en/default/admin/keywords/list.html.tmpl index d3391d939..c3f4a5292 100644 --- a/template/en/default/admin/keywords/list.html.tmpl +++ b/template/en/default/admin/keywords/list.html.tmpl @@ -33,7 +33,7 @@ { name => "bug_count" heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => "buglist.cgi?keywords=%%name%%" }, { diff --git a/template/en/default/admin/milestones/list.html.tmpl b/template/en/default/admin/milestones/list.html.tmpl index 20e4f6138..aa377d88e 100644 --- a/template/en/default/admin/milestones/list.html.tmpl +++ b/template/en/default/admin/milestones/list.html.tmpl @@ -53,7 +53,7 @@ [% columns.push({ name => "bug_count" heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => bug_count_contentlink }) %] diff --git a/template/en/default/admin/milestones/select-product.html.tmpl b/template/en/default/admin/milestones/select-product.html.tmpl index ccc7e193b..e2784127e 100644 --- a/template/en/default/admin/milestones/select-product.html.tmpl +++ b/template/en/default/admin/milestones/select-product.html.tmpl @@ -35,7 +35,7 @@ [% columns.push({ name => 'bug_count' heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => "buglist.cgi?product=%%name%%" }) %] diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl index 50a0a2ea5..00fb27ba4 100644 --- a/template/en/default/admin/params/editparams.html.tmpl +++ b/template/en/default/admin/params/editparams.html.tmpl @@ -68,19 +68,17 @@
- [% IF curpanel == -1 %] - [% PROCESS admin/params/index.html.tmpl panels = panels %] - [% ELSE %] - -
Note: - B[% %]ugzilla is developed entirely by volunteers. - The best way to give back to the B[% %]ugzilla project is to - contribute - yourself! - You don't have to be a programmer to contribute, there are lots of - things that we need. -
+
Note: + B[% %]ugzilla is developed entirely by volunteers. + The best way to give back to the B[% %]ugzilla project is to + contribute yourself! + You don't have to be a programmer to contribute, there are lots of + things that we need. +
+ [% IF curpanel == -1 %] + [% PROCESS admin/params/index.html.tmpl panels = panels %] + [% ELSE %]

This lets you edit the basic operating parameters of [% terms.Bugzilla %]. Be careful!
@@ -95,7 +93,7 @@ - [% END %] + [% END %]

diff --git a/template/en/default/admin/params/index.html.tmpl b/template/en/default/admin/params/index.html.tmpl index 65aa398eb..ee64eca9f 100644 --- a/template/en/default/admin/params/index.html.tmpl +++ b/template/en/default/admin/params/index.html.tmpl @@ -6,33 +6,23 @@ # defined by the Mozilla Public License, v. 2.0. #%] -

- All parameters are displayed below, per section. - If you cannot find one from here, then the parameter does not exist. -

+
+

+ All parameters are displayed below, per section. + If you cannot find one from here, then the parameter does not exist. +

-
- - - - - - [% FOREACH panel = panels %] + [% FOREACH panel = panels %] +

[% panel.title FILTER html %]

+ +
    [% FOREACH param = panel.param_list.sort('name') %] -
- - - +
  • + + [% param.name FILTER html %] +
  • [% END %] - - - - [% END %] -
    ParameterSection
    - - [% param.name FILTER html %] - - [% panel.title FILTER html %] -
      
    + + [% END %]
    diff --git a/template/en/default/admin/products/list-classifications.html.tmpl b/template/en/default/admin/products/list-classifications.html.tmpl index a13d2be0f..39f3ee1c1 100644 --- a/template/en/default/admin/products/list-classifications.html.tmpl +++ b/template/en/default/admin/products/list-classifications.html.tmpl @@ -32,7 +32,7 @@ }, { name => "product_count" - align => "right" + class => "right" heading => "Product Count" } ] diff --git a/template/en/default/admin/products/list.html.tmpl b/template/en/default/admin/products/list.html.tmpl index d09a552e2..58edaa7bd 100644 --- a/template/en/default/admin/products/list.html.tmpl +++ b/template/en/default/admin/products/list.html.tmpl @@ -58,7 +58,7 @@ [% columns.push({ name => "bug_count" heading => "$terms.Bug Count" - align => 'right' + class => 'right' contentlink => 'buglist.cgi?product=%%name%%' }) %] diff --git a/template/en/default/admin/table.html.tmpl b/template/en/default/admin/table.html.tmpl index 3981ef4bb..993181c7f 100644 --- a/template/en/default/admin/table.html.tmpl +++ b/template/en/default/admin/table.html.tmpl @@ -25,8 +25,6 @@ # field_descs hash will be used instead of "content." # See fieldvalues/select-field for an example of use. # This content WILL be HTML-filtered in this case. - # align: left/center/right. Controls the horizontal alignment of the - # text in the column. # allow_html_content: if defined, then this column allows some html content # and so it will be only partially filtered. # yesno_field: Turn the data from 0/!0 into Yes/No @@ -89,7 +87,6 @@ [% contentlink = c.contentlink content = c.content content_use_field = c.content_use_field - align = c.align class = c.class allow_html_content = c.allow_html_content yesno_field = c.yesno_field @@ -121,8 +118,7 @@ [% END %] [% END %] - + [% IF contentlink %] [% FOREACH m = contentlink.match('%%(.+?)%%', 1) %] @@ -155,7 +151,7 @@ [% END %] [% IF data.size == 0 %] - <none> + <none> [% END %] diff --git a/template/en/default/admin/versions/list.html.tmpl b/template/en/default/admin/versions/list.html.tmpl index ee69ee03e..43a14f9ee 100644 --- a/template/en/default/admin/versions/list.html.tmpl +++ b/template/en/default/admin/versions/list.html.tmpl @@ -45,7 +45,7 @@ [% columns.push({ name => "bug_count" heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => bug_count_contentlink }) %] diff --git a/template/en/default/admin/versions/select-product.html.tmpl b/template/en/default/admin/versions/select-product.html.tmpl index e19aa18cc..119ec9a71 100644 --- a/template/en/default/admin/versions/select-product.html.tmpl +++ b/template/en/default/admin/versions/select-product.html.tmpl @@ -35,7 +35,7 @@ [% columns.push({ name => 'bug_count' heading => "$terms.Bugs" - align => "right" + class => "right" contentlink => "buglist.cgi?product=%%name%%" }) %] diff --git a/template/en/default/admin/workflow/comment.html.tmpl b/template/en/default/admin/workflow/comment.html.tmpl index 94218c8fa..19762d154 100644 --- a/template/en/default/admin/workflow/comment.html.tmpl +++ b/template/en/default/admin/workflow/comment.html.tmpl @@ -15,9 +15,9 @@ @@ -28,7 +28,7 @@

    - +
    @@ -38,7 +38,7 @@ [% FOREACH status = statuses %] - [% END %] @@ -54,22 +54,21 @@ [% FOREACH new_status = statuses %] [% IF workflow.${status.id}.${new_status.id}.defined %] - [% ELSE %] - + [% END %] [% END %] [% END %]
      ToFrom   + [% display_value("bug_status", status.name) FILTER html %]   
    -

    +

    - diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl index 4ae613ef5..1904b487e 100644 --- a/template/en/default/admin/workflow/edit.html.tmpl +++ b/template/en/default/admin/workflow/edit.html.tmpl @@ -15,9 +15,9 @@ @@ -33,7 +33,7 @@

    - +
    @@ -43,7 +43,7 @@ [% FOREACH status = statuses %] - [% END %] @@ -61,7 +61,7 @@ [% IF status.id != new_status.id %] [% checked = workflow.${status.id}.${new_status.id}.defined ? 1 : 0 %] [% mandatory = (status.id && new_status.name == Param("duplicate_or_move_bug_status")) ? 1 : 0 %] - [% ELSE %] - + [% END %] [% END %] @@ -87,7 +87,7 @@ page and editing the duplicate_or_move_bug_status parameter.

    -

    +

    - -- cgit v1.2.3-24-g4f1b

      ToFrom   + [% display_value("bug_status", status.name) FILTER html %]