From 5a15633a1179f960e1726eebf7f38c7ee2f2b4f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin?= Date: Sat, 28 Dec 2013 20:55:54 +0100 Subject: Bug 952795: Remove all style="..." attributes from HTML elements r/a=justdave --- .../en/default/bug/create/create-guided.html.tmpl | 1 - template/en/default/bug/dependency-tree.html.tmpl | 29 ++++++++-------------- template/en/default/bug/summarize-time.html.tmpl | 17 +++++++------ 3 files changed, 20 insertions(+), 27 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl index 181b76e62..7abb8c7dc 100644 --- a/template/en/default/bug/create/create-guided.html.tmpl +++ b/template/en/default/bug/create/create-guided.html.tmpl @@ -62,7 +62,6 @@ function PutDescription() {

diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl index 369326d48..61994cf28 100644 --- a/template/en/default/bug/dependency-tree.html.tmpl +++ b/template/en/default/bug/dependency-tree.html.tmpl @@ -166,9 +166,8 @@ [%# Hide/show resolved button Swaps text depending on the state of hide_resolved %] - -
+ + [% IF maxdepth %] @@ -188,11 +187,9 @@ - + [%# set to one form %] - @@ -201,8 +198,7 @@ - + [%# Minus one form Allow subtracting only when realdepth and maxdepth > 1 %] @@ -211,14 +207,13 @@ : ( maxdepth ? maxdepth - 1 : realdepth - 1 ) %]"> -
-
+ [%# Limit entry form: the button cannot do anything when total depth is less than two, so disable it %] + [%# plus one form Disable button if total depth < 2, or if depth set to unlimited %] @@ -243,19 +237,18 @@ [% END %] - = realdepth %]>
-
+ [%# Unlimited button %]
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 %]
-

+

[% 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 %] -

+

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 %] -

Total of [% global.grand_total FILTER format("%.2f") %] hours worked

+

Total of [% global.grand_total FILTER format("%.2f") %] hours worked


[% END %] [% IF null.size > 0 %] [% INCLUDE inactive_report %] -

Total of [% null.size %] inactive [% terms.bugs %]

+

Total of [% null.size %] inactive [% terms.bugs %]

[% END %] [% END %] @@ -255,15 +255,16 @@ [% BLOCK query_form %]
-
+ [% IF warn_swap_dates %] -

The - end date specified occurs before the start date, which doesn't - make sense; the dates below have therefore been swapped.

+

+ The end date specified occurs before the start date, which doesn't + make sense; the dates below have therefore been swapped. +

[% END %] -- cgit v1.2.1