Index: openacs-4/packages/xowiki/tcl/includelet-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/includelet-procs.tcl,v diff -u -r1.244 -r1.245 --- openacs-4/packages/xowiki/tcl/includelet-procs.tcl 24 Oct 2024 17:02:23 -0000 1.244 +++ openacs-4/packages/xowiki/tcl/includelet-procs.tcl 30 Oct 2024 15:33:32 -0000 1.245 @@ -602,30 +602,25 @@ : $localized_title}] ::xo::render_localizer - switch [::template::CSS toolkit] { - bootstrap - - bootstrap5 { - if {$link ne ""} { - set template [ns_trim -delimiter | { - |
- |
$link
- |
$html
- |
}] - } else { - set template [ns_trim -delimiter | { - |
- |
$html
- |
}] - } - } - yui { - set template [ns_trim -delimiter | { - |
- |
$link
- |
- |
$html
}] - } + set card_class [template::CSS class card] + set card_header_class [template::CSS class card-header] + set card_body_class [template::CSS class card-body] + + if {$link ne ""} { + set template { +
+
$link
+
$html
+
+ } + } else { + set template { +
+
$html
+
+ } } + return [subst [ns_trim -delimiter | { |
|