Index: openacs-4/packages/xowf/tcl/test-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/test-item-procs.tcl,v diff -u -r1.7.2.277 -r1.7.2.278 --- openacs-4/packages/xowf/tcl/test-item-procs.tcl 10 Jul 2023 08:53:32 -0000 1.7.2.277 +++ openacs-4/packages/xowf/tcl/test-item-procs.tcl 13 Jul 2023 09:14:57 -0000 1.7.2.278 @@ -6435,18 +6435,17 @@ # Class: Question_manager # Method: hint_box #---------------------------------------------------------------------- - :method hint_box {-title -body -CSSclass } { + :method hint_box {-title -body {-CSSclass ""}} { # # # @return HTML # set HTML "" if {$body ne ""} { - #ns_log notice "FFF adding $CSSclass '$body'" - append HTML "
" \ - "
$title
\n" \ - "
$body
" \ -
\n + append HTML [::xowiki::bootstrap::card \ + -title $title \ + -body $body \ + -CSSclass $CSSclass] } return $HTML } @@ -7304,33 +7303,33 @@ } } - - append HTML [subst { -
-
#xowf.question_summary#
-
-
- - - - - - + set body [ns_trim -delimiter | { + |
#xowf.question_structure##xowf.Minutes##xowf.Points##xowf.Shuffle#
+ | + | + | + | + | + | + | }] foreach chunk $chunks { - append HTML [subst { - - - - - - - - }] + append body [subst [ns_trim -delimiter | { + | + | + | + | + | + | + | + | + }]] } - append HTML "
#xowf.question_structure##xowf.Minutes##xowf.Points##xowf.Shuffle#
[:dict_value $chunk title_value][:dict_value $chunk type]: [:dict_value $chunk structure][:dict_value $chunk Minutes][:dict_value $chunk Points][:pretty_shuffle [:dict_value $chunk shuffle]][:dict_value $chunk grading]
[:dict_value $chunk title_value][:dict_value $chunk type]: [:dict_value $chunk structure][:dict_value $chunk Minutes][:dict_value $chunk Points][:pretty_shuffle [:dict_value $chunk shuffle]][:dict_value $chunk grading]
\n" + return [::xowiki::bootstrap::card \ + -title #xowf.question_summary# \ + -body $body] return $HTML }