Merge lp:~whosdaz/ubuntu-qa-website/fix1533472 into lp:ubuntu-qa-website

Proposed by Matthew Allen
Status: Merged
Approved by: Nicholas Skaggs
Approved revision: 419
Merged at revision: 419
Proposed branch: lp:~whosdaz/ubuntu-qa-website/fix1533472
Merge into: lp:ubuntu-qa-website
Diff against target: 33 lines (+17/-1)
2 files modified
modules/qawebsite/misc/qawebsite_fix1533472.css (+3/-0)
modules/qawebsite/qawebsite.module (+14/-1)
To merge this branch: bzr merge lp:~whosdaz/ubuntu-qa-website/fix1533472
Reviewer Review Type Date Requested Status
Ubuntu QA Website Developers Pending
Review via email: mp+282642@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'modules/qawebsite/misc/qawebsite_fix1533472.css'
2--- modules/qawebsite/misc/qawebsite_fix1533472.css 1970-01-01 00:00:00 +0000
3+++ modules/qawebsite/misc/qawebsite_fix1533472.css 2016-01-14 17:52:56 +0000
4@@ -0,0 +1,3 @@
5+tbody {
6+ color: #000;
7+}
8\ No newline at end of file
9
10=== modified file 'modules/qawebsite/qawebsite.module'
11--- modules/qawebsite/qawebsite.module 2016-01-13 17:35:43 +0000
12+++ modules/qawebsite/qawebsite.module 2016-01-14 17:52:56 +0000
13@@ -37,6 +37,19 @@
14 drupal_add_html_head($redirect, 'redirect');
15 }
16
17-//
18+
19+// Add custom css to ovveride coloring of tables - this is a workaround and shouldn't be a long term fix
20+// Fixes https://bugs.launchpad.net/ubuntu-qa-website/+bug/1533472
21+
22+$cssoverride = array(
23+ '#tag' => 'link', // The #tag is the html tag - <link />
24+ '#attributes' => array( // Set up an array of attributes inside the tag
25+ 'rel' => 'stylesheet',
26+ 'type' => 'text/css',
27+ 'href' => '/modules/qawebsite/misc/qawebsite_fix1533472.css',
28+ ),
29+);
30+
31+drupal_add_html_head($cssoverride, 'cssoverride');
32
33 ?>

Subscribers

People subscribed via source and target branches