diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-28 20:55:54 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-28 20:55:54 +0100 |
commit | 5a15633a1179f960e1726eebf7f38c7ee2f2b4f8 (patch) | |
tree | 814ecaa9e2d4eeea93e416bb4f265ba2e24224ba /template/en/default/bug/summarize-time.html.tmpl | |
parent | 3b55436dd3711772ff632eaa805b6c19e588b791 (diff) | |
download | bugzilla-5a15633a1179f960e1726eebf7f38c7ee2f2b4f8.tar.gz bugzilla-5a15633a1179f960e1726eebf7f38c7ee2f2b4f8.tar.xz |
Bug 952795: Remove all style="..." attributes from HTML elements
r/a=justdave
Diffstat (limited to 'template/en/default/bug/summarize-time.html.tmpl')
-rw-r--r-- | template/en/default/bug/summarize-time.html.tmpl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl index 932a6e3f4..ee654dc38 100644 --- a/template/en/default/bug/summarize-time.html.tmpl +++ b/template/en/default/bug/summarize-time.html.tmpl @@ -36,7 +36,7 @@ [%# parts contains date ranges (from, to). %] [% part = parts.shift %] <div align="right"> - <h4 style="padding-right: 2em; margin: 0;"> + <h4> [% IF part.0 or part.1 %] [% part.0 OR "Up" FILTER html %] to [% part.1 OR "now" FILTER html %] [% ELSE %] @@ -52,7 +52,7 @@ [% END %] [% IF detailed %] - <h4 style="margin: 0"> + <h4> Total of [% global.remaining FILTER format("%.2f") %]h remains from original estimate of [% global.estimated FILTER format("%.2f") %]h [% IF global.deadline %] @@ -62,13 +62,13 @@ [% END %] [% IF monthly %] - <h4 style="margin: 0">Total of [% global.grand_total FILTER format("%.2f") %] hours worked</h4> + <h4>Total of [% global.grand_total FILTER format("%.2f") %] hours worked</h4> <hr noshade size="1"> [% END %] [% IF null.size > 0 %] [% INCLUDE inactive_report %] - <h4 style="margin: 0">Total of [% null.size %] inactive [% terms.bugs %]</h4> + <h4>Total of [% null.size %] inactive [% terms.bugs %]</h4> [% END %] [% END %] @@ -255,15 +255,16 @@ [% BLOCK query_form %] <hr noshade size=1> -<form method="post" name="summary" style="display: inline" action="summarize_time.cgi"> +<form method="post" name="summary" action="summarize_time.cgi"> <input type="hidden" name="do_depends" value="[% do_depends FILTER html %]"> <input type="hidden" name="id" value="[% ids.join(",") FILTER html %]"> <input type="hidden" name="do_report" value="1"> [% IF warn_swap_dates %] - <h4 style="border: 1px solid red; margin: 1em; padding: 0.5em">The - end date specified occurs before the start date, which doesn't - make sense; the dates below have therefore been swapped.</h4> + <p class="warning_swapped_data"> + The end date specified occurs before the start date, which doesn't + make sense; the dates below have therefore been swapped. + </p> [% END %] <table> |