[Rt-commit] rt branch, 5.0/massage-css-files-callback, created. rt-5.0.0-6-gb8042c9c0c
Craig Kaiser
craig at bestpractical.com
Fri Aug 28 15:49:48 EDT 2020
The branch, 5.0/massage-css-files-callback has been created
at b8042c9c0c1ece46fbc0177bf1791f86386558f0 (commit)
- Log -----------------------------------------------------------------
commit b8042c9c0c1ece46fbc0177bf1791f86386558f0
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Aug 28 15:40:04 2020 -0400
Add callback to edit CSS files loaded in header
diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index e93f27999a..43bb62ac9f 100644
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -145,6 +145,7 @@ else {
RT::Interface::Web::SquishedCSS( $style )->Key;
@css_files = "/NoAuth/css/$style/squished-$key.css";
}
+$m->callback( CallbackName => "MassageCSSFiles", CSSFiles => \@css_files );
# We use BodyClass in its $ARGS form so that callbacks have a chance to
# massage it
-----------------------------------------------------------------------
More information about the rt-commit
mailing list