Skip to content
Snippets Groups Projects
Commit c08841c5 authored by Konstantinos Platis's avatar Konstantinos Platis
Browse files

Merge branch 'CERN-1060' into 'dev'

[CERN-1060] CERN Toolbar does not work with non-CERN themes

See merge request !33
parents 0a2f3f65 b9d2c282
No related branches found
No related tags found
2 merge requests!40Merge v2.5.0 to master branch,!33[CERN-1060] CERN Toolbar does not work with non-CERN themes
......@@ -36,6 +36,9 @@ function cernbase_preprocess_maintenance_page(&$variables){
*/
function cernbase_preprocess_html(&$variables) {
$variables['loading_image'] = '//framework.web.cern.ch/framework/3.0/images/loader.gif';
// Specific class on body for CERN themes
$variables['attributes']['class'][] = 'cern-theme-on';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment