Commit 1b60dd42 authored by m26lebla's avatar m26lebla
Browse files

commented out the fdsu theme library attachement for dashboards in uw_sites_all.module

parent 6e2e5bd8
......@@ -99,14 +99,15 @@ function uw_sites_all_page_attachments(array &$page) {
return;
}
// Get the arguments of the URL and separate into parts.
$args = explode('/', \Drupal::service('path.current')->getPath());
// Commented out until we work on dashboards presentation layer.
// Get the arguments of the URL and separate into parts.
//$args = explode('/', \Drupal::service('path.current')->getPath());
// If we are on the dashboard, add the stylings so that blocks
// appear correctly.
if (in_array('dashboard', $args)) {
$page['#attached']['library'][] = 'uw_fdsu_theme_resp/global';
}
//if (in_array('dashboard', $args)) {
// $page['#attached']['library'][] = 'uw_fdsu_theme_resp/global';
//}
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment