From fb6ef2f23aeda0ba93d97a7e0abd6a21c952fa4f Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 11 Jul 2013 16:45:14 +0800 Subject: Bug 892382: make html bugmail look better in gmail --- .../template/en/default/email/bugmail.html.tmpl | 54 +++++++--------------- 1 file changed, 16 insertions(+), 38 deletions(-) (limited to 'extensions/BMO') diff --git a/extensions/BMO/template/en/default/email/bugmail.html.tmpl b/extensions/BMO/template/en/default/email/bugmail.html.tmpl index e40c8239a..df872898a 100644 --- a/extensions/BMO/template/en/default/email/bugmail.html.tmpl +++ b/extensions/BMO/template/en/default/email/bugmail.html.tmpl @@ -13,33 +13,11 @@ - - + [% IF !to_user.in_group('editbugs') %] -
+ [% END %]
@@ -76,7 +54,7 @@ [% IF referenced_bugs.size %]
-
+
Referenced [% terms.Bugs %]:
    [% FOREACH ref = referenced_bugs %] @@ -90,8 +68,8 @@
    [% END %] -
    -
    +
    +
    Product/Component: [% bug.product FILTER html %] :: [% bug.component FILTER html %]
    @@ -103,8 +81,8 @@ [% tracking_flags.push(field) %] [% END %] [% IF tracking_flags.size %] -
    -
    +
    +
    Tracking Flags:
      [% FOREACH field = tracking_flags %] @@ -114,8 +92,8 @@
    [% END %] -
    -
    +
    +
    You are receiving this mail because:
      [% FOREACH reason = reasons %] @@ -140,7 +118,7 @@ [% FOREACH change = diffs %] [% PROCESS "email/bugmail-common.txt.tmpl" %] - [% field_label FILTER html %] + [% field_label FILTER html %] [% IF change.field_name == "bug_id" %] [% new_value FILTER bug_link(bug, full_url => 1) FILTER none %] @@ -190,15 +168,15 @@ [% SET in_table = 1 %] [% END %] - What - Removed - Added + What + Removed + Added [% END %] - [% field_label FILTER html %] - + [% field_label FILTER html %] + [% IF old_value %] [% old_value FILTER html %] [% ELSE %] -- cgit v1.2.3-24-g4f1b