Index: openacs-4/packages/simulation/www/siminst/simulation-casting-3.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/simulation-casting-3.tcl,v
diff -u -r1.15 -r1.16
--- openacs-4/packages/simulation/www/siminst/simulation-casting-3.tcl 7 Jan 2004 16:27:35 -0000 1.15
+++ openacs-4/packages/simulation/www/siminst/simulation-casting-3.tcl 9 Jan 2004 14:40:03 -0000 1.16
@@ -8,15 +8,19 @@
workflow_id:integer
}
+# TODO: auto-check all boxes
+# TODO: if enroll-type is open, show all groups from the subsite in each role
+
set page_title "Set user casting rules"
set context [list [list "." "SimInst"] $page_title]
set form [list]
lappend form {casting_type:text(radio)
{label "Casting type"}
- {options {{Automatic auto} {Group group} {Open open}}}
+ {options {{"Participants are automatically assigned cases and roles" auto} {"Participants choose their own cases" group} {"Participants choose cases and roles" open}}}
{section "Casting type"}
+ {help_text "If participants have not selected groups or roles by the simulation start time, they are automatically assigned. TODO: implement this"}
}
@@ -37,7 +41,7 @@
}
lappend form [list parties_${role_id}:text(checkbox),multiple,optional \
- [list label "Cast \$role_${role_id}_pretty_name from these groups"] \
+ [list label "Cast \$role_${role_id}_pretty_name only from these groups"] \
{options $eligible_groups} \
[list section "\$role_${role_id}_pretty_name"]
]