Index: openacs-4/packages/acs-templating/acs-templating.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/acs-templating.info,v
diff -u -r1.73 -r1.74
--- openacs-4/packages/acs-templating/acs-templating.info 28 Oct 2024 17:09:41 -0000 1.73
+++ openacs-4/packages/acs-templating/acs-templating.info 30 Oct 2024 15:32:04 -0000 1.74
@@ -9,7 +9,7 @@
f
t
-
+
OpenACS
Templating library.
2024-09-02
@@ -27,7 +27,7 @@
GPL version 2
3
-
+
Index: openacs-4/packages/acs-templating/tcl/style-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/style-procs.tcl,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/acs-templating/tcl/style-procs.tcl 29 Oct 2024 15:27:13 -0000 1.8
+++ openacs-4/packages/acs-templating/tcl/style-procs.tcl 30 Oct 2024 15:32:05 -0000 1.9
@@ -24,7 +24,7 @@
set toolkit bootstrap5
} elseif {[string match *bootstrap3* $theme]} {
set toolkit bootstrap
- } elseif {[string match *w3css-theme* $theme]} {
+ } elseif {[string match *w3css* $theme]} {
set toolkit w3css
}
}
@@ -70,6 +70,11 @@
margin-form ""
text-warning text-warn
}
+ dict set :cssClasses yui {
+ card portlet-wrapper
+ card-body portlet
+ card-header portlet-header
+ }
dict set :cssClasses default {
btn-default ""
margin-form margin-form
@@ -309,6 +314,7 @@
ns_log warning "template::CSS: no class mapping for" \
"toolkit $toolkit provided (should be in theme definition)"
}
+
if {[dict exists ${:cssClasses} $toolkit $name]} {
return [dict get ${:cssClasses} $toolkit $name]
} else {