]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
no bug: Fix security bugs report colors
authorIsrael Madueme <purelogiq@gmail.com>
Thu, 30 May 2019 02:12:58 +0000 (22:12 -0400)
committerGitHub <noreply@github.com>
Thu, 30 May 2019 02:12:58 +0000 (22:12 -0400)
The Sandstone theme change accidentally changed some styles in the
report email that wouldn't be able to benefit from the new theme.
This fix restores colors in the email.

template/en/default/reports/email/security-risk.html.tmpl

index b3bb776fad18500db2d33475d9e869328c3d76c0..90e335f4665e79a6001fc110b498ab96f1d48e23 100644 (file)
@@ -46,7 +46,7 @@
           [% END %]
         </td>
       <td style="padding: 0px 15px 10px 0px; text-align: right;
-                [% IF deltas.by_team.$team.closed.size %] background-color: var(--positive-message-background-color) [% END %]">
+                [% IF deltas.by_team.$team.closed.size %] background-color: #e6ffe6 [% END %]">
         [% IF deltas.by_team.$team.closed.size %]
           <a style="text-decoration: none;"
              href="[% build_bugs_link(deltas.by_team.$team.closed) FILTER html %]">
@@ -57,7 +57,7 @@
         [% END %]
       </td>
       <td style="padding: 0px 15px 10px 0px; text-align: right;  border-right: 1px solid grey;
-                [% IF deltas.by_team.$team.added.size %] background-color: var(--error-message-background-color) [% END %]">
+                [% IF deltas.by_team.$team.added.size %] background-color: #ffe6e6 [% END %]">
         [% IF deltas.by_team.$team.added.size %]
           <a style="text-decoration: none;" href="[% build_bugs_link(deltas.by_team.$team.added) FILTER html %]">
             +[% deltas.by_team.$team.added.size FILTER html %]
           [% END %]
         </td>
       <td style="padding: 0px 15px 10px 0px; text-align: right;
-                [% IF deltas.by_sec_keyword.$keyword.closed.size %] background-color: var(--positive-message-background-color) [% END %]">
+                [% IF deltas.by_sec_keyword.$keyword.closed.size %] background-color: #e6ffe6 [% END %]">
         [% IF deltas.by_sec_keyword.$keyword.closed.size %]
           <a style="text-decoration: none;" href="[% build_bugs_link(deltas.by_sec_keyword.$keyword.closed) FILTER html %]">
             -[% deltas.by_sec_keyword.$keyword.closed.size FILTER html %]
         [% END %]
       </td>
       <td style="padding: 0px 15px 10px 0px; text-align: right;
-                 [% IF deltas.by_sec_keyword.$keyword.added.size %] background-color: var(--error-message-background-color) [% END %]">
+                 [% IF deltas.by_sec_keyword.$keyword.added.size %] background-color: #ffe6e6 [% END %]">
         [% IF deltas.by_sec_keyword.$keyword.added.size %]
           <a style="text-decoration: none;" href="[% build_bugs_link(deltas.by_sec_keyword.$keyword.added) FILTER html %]">
             +[% deltas.by_sec_keyword.$keyword.added.size FILTER html %]