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
=== added file 'modules/qawebsite/misc/qawebsite_fix1533472.css'
--- modules/qawebsite/misc/qawebsite_fix1533472.css 1970-01-01 00:00:00 +0000
+++ modules/qawebsite/misc/qawebsite_fix1533472.css 2016-01-14 17:52:56 +0000
@@ -0,0 +1,3 @@
1tbody {
2 color: #000;
3}
0\ No newline at end of file4\ No newline at end of file
15
=== modified file 'modules/qawebsite/qawebsite.module'
--- modules/qawebsite/qawebsite.module 2016-01-13 17:35:43 +0000
+++ modules/qawebsite/qawebsite.module 2016-01-14 17:52:56 +0000
@@ -37,6 +37,19 @@
37 drupal_add_html_head($redirect, 'redirect');37 drupal_add_html_head($redirect, 'redirect');
38}38}
3939
40//40
41// Add custom css to ovveride coloring of tables - this is a workaround and shouldn't be a long term fix
42// Fixes https://bugs.launchpad.net/ubuntu-qa-website/+bug/1533472
43
44$cssoverride = array(
45 '#tag' => 'link', // The #tag is the html tag - <link />
46 '#attributes' => array( // Set up an array of attributes inside the tag
47 'rel' => 'stylesheet',
48 'type' => 'text/css',
49 'href' => '/modules/qawebsite/misc/qawebsite_fix1533472.css',
50 ),
51);
52
53drupal_add_html_head($cssoverride, 'cssoverride');
4154
42?>55?>

Subscribers

People subscribed via source and target branches