[Rt-commit] rt branch, 5.0-trunk, updated. rt-5.0.0-63-g3e034bc6d7

? sunnavy sunnavy at bestpractical.com
Fri Oct 30 10:35:58 EDT 2020


The branch, 5.0-trunk has been updated
       via  3e034bc6d76a0e1c746c4ee49dca6c7db388fac3 (commit)
       via  f5b1c6cc3d763d26a7e83b911c9a315c7f6ed89e (commit)
      from  25f33a107e8c21cd85f5a9543fbbb6579bea8903 (commit)

Summary of changes:
 share/html/Elements/Header | 1 +
 1 file changed, 1 insertion(+)

- Log -----------------------------------------------------------------
commit f5b1c6cc3d763d26a7e83b911c9a315c7f6ed89e
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..430a4fa664 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, ARGSRef => \%ARGS );
 
 # We use BodyClass in its $ARGS form so that callbacks have a chance to
 # massage it

commit 3e034bc6d76a0e1c746c4ee49dca6c7db388fac3
Merge: 25f33a107e f5b1c6cc3d
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Oct 30 22:22:48 2020 +0800

    Merge branch '5.0/massage-css-files-callback' into 5.0-trunk


-----------------------------------------------------------------------


More information about the rt-commit mailing list