Commit 6771eeaf authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4487: adding css to dashboard pages

parent 99418b3a
......@@ -98,6 +98,15 @@ function uw_sites_all_page_attachments(array &$page) {
$page['#attached']['library'][] = 'uw_sites_all/uw-sites-all-adminimal';
// 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';
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