Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
WCMS
uw_sites_all
Commits
6771eeaf
Commit
6771eeaf
authored
Jan 04, 2021
by
Eric Bremner
Browse files
ISTWCMS-4487: adding css to dashboard pages
parent
99418b3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
uw_sites_all.module
uw_sites_all.module
+9
-0
No files found.
uw_sites_all.module
View file @
6771eeaf
...
...
@@ -98,6 +98,15 @@ function uw_sites_all_page_attachments(array &$page) {
$page
[
'#attached'
][
'library'
][]
=
'uw_sites_all/uw-sites-all-adminimal'
;
return
;
}
// 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'
;
}
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment