Index: openacs-4/packages/bootstrap-icons/tcl/resource-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/bootstrap-icons/tcl/resource-init.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/bootstrap-icons/tcl/resource-init.tcl 1 Apr 2022 13:04:44 -0000 1.1.2.1 +++ openacs-4/packages/bootstrap-icons/tcl/resource-init.tcl 12 May 2023 17:50:50 -0000 1.1.2.2 @@ -9,19 +9,24 @@ # The .min.css is just on the CDN # set fn bootstrap-icons.min.css - + # # Add global CSP rules. # lappend ::security::csp::default_directives \ style-src [dict get $resource_info cdnHost] \ font-src [dict get $resource_info cdnHost] - + } else { set fn bootstrap-icons.css + if {[apm_version_names_compare $::bootstrap_icons::version 1.10.4] >= 0} { + ns_log notice "CSS [dict get $resource_info prefix]/$fn " + set fn font/$fn + } } set URN urn:ad:css:bootstrap-icons +ns_log notice "CSS [dict get $resource_info prefix]/$fn " template::register_urn \ -urn $URN \ -resource [dict get $resource_info prefix]/$fn \