Index: openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/map-characters.tcl,v diff -u -r1.11 -r1.12 --- openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl 9 Jan 2004 14:40:03 -0000 1.11 +++ openacs-4/contrib/packages/simulation/www/siminst/map-characters.tcl 12 Jan 2004 09:23:10 -0000 1.12 @@ -26,7 +26,6 @@ } } -# TODO: remove duplicates from this query set character_options [simulation::object::get_object_type_options -null_label "" -object_type sim_character] # Loop over all workflow roles and add a character select widget for each Index: openacs-4/contrib/packages/simulation/www/siminst/simulation-casting-3.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/simulation-casting-3.adp,v diff -u -r1.10 -r1.11 --- openacs-4/contrib/packages/simulation/www/siminst/simulation-casting-3.adp 8 Jan 2004 14:24:44 -0000 1.10 +++ openacs-4/contrib/packages/simulation/www/siminst/simulation-casting-3.adp 12 Jan 2004 09:23:10 -0000 1.11 @@ -44,8 +44,9 @@ - -
TODO: Finish button should say "Done (Begin Casting)" +
TODO: if enroll-type is open, show all groups from the subsite in +each role
TODO: Number of users should by greater than 0. +
TODO: auto-check all boxes by default Index: openacs-4/contrib/packages/simulation/www/siminst/simulation-enrollment.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/simulation-enrollment.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/simulation/www/siminst/simulation-enrollment.tcl 9 Jan 2004 14:40:03 -0000 1.4 +++ openacs-4/contrib/packages/simulation/www/siminst/simulation-enrollment.tcl 12 Jan 2004 09:23:10 -0000 1.5 @@ -39,13 +39,13 @@ # Default values set one_month [expr 3600*24*31] + set one_week [expr 3600*24*7] - # TODO: provide more sensible default dates? if { [empty_string_p $enroll_start] } { - set enroll_start [clock format [expr [clock seconds] + 1*$one_month] -format "%Y-%m-%d"] + set enroll_start [clock format [expr [clock seconds]] -format "%Y-%m-%d"] } if { [empty_string_p $enroll_end] } { - set enroll_end [clock format [expr [clock seconds] + 2*$one_month] -format "%Y-%m-%d"] + set enroll_end [clock format [expr [clock seconds] + 2*$one_week] -format "%Y-%m-%d"] } if { [empty_string_p $enroll_type] } { set enroll_type "closed" Index: openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/simulation-participants.adp,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.adp 9 Jan 2004 14:40:03 -0000 1.4 +++ openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.adp 12 Jan 2004 09:23:10 -0000 1.5 @@ -1,10 +1,8 @@ -
TODO: implement the enrollment type and optional enrollment date +fields from simulation-enrollment.tcl
TODO: change invited/mandatory checkboxes to a single radio button
set per row: invited/mandatory/none
Auto-Enroll takes effect, and
Index: openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/siminst/Attic/simulation-participants.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.tcl 9 Jan 2004 14:40:03 -0000 1.3
+++ openacs-4/contrib/packages/simulation/www/siminst/simulation-participants.tcl 12 Jan 2004 09:23:10 -0000 1.4
@@ -4,8 +4,6 @@
workflow_id:integer
}
-# TODO: implement the enrollment type and optional enrollment date fields from simulation-enrollment.tcl
-
simulation::template::get -workflow_id $workflow_id -array sim_template
set group_admin_url [export_vars -base "[subsite::get_element -element url]admin/group-types/one" { { group_type group } }]
Index: openacs-4/contrib/packages/simulation/www/simplay/cast.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/cast.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/packages/simulation/www/simplay/cast.adp 8 Jan 2004 14:27:56 -0000 1.1
+++ openacs-4/contrib/packages/simulation/www/simplay/cast.adp 12 Jan 2004 09:23:10 -0000 1.2
@@ -2,6 +2,10 @@
Select a case (if casting type=group, then say, "and role") to join, or create a new case for yourself. If you do not select a case to join, you will be automatically
+ assigned a case (... and role)
+ when the simulation begins.
+
If no rows, display this text: "There are no cases yet."
Index: openacs-4/contrib/packages/simulation/www/simplay/enroll.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/enroll.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/packages/simulation/www/simplay/enroll.adp 8 Jan 2004 14:27:56 -0000 1.1
+++ openacs-4/contrib/packages/simulation/www/simplay/enroll.adp 12 Jan 2004 09:23:10 -0000 1.2
@@ -2,8 +2,9 @@
Does enrollment and then displays results based on sim type
TODO: Finish button should say "Done (Begin Casting)"
+ TODO: if enroll-type is open, show all groups from the subsite in
+each role
TODO: Number of users should by greater than 0.
+ TODO: auto-check all boxes by default
Index: openacs-4/packages/simulation/www/siminst/simulation-enrollment.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/Attic/simulation-enrollment.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/simulation/www/siminst/simulation-enrollment.tcl 9 Jan 2004 14:40:03 -0000 1.4
+++ openacs-4/packages/simulation/www/siminst/simulation-enrollment.tcl 12 Jan 2004 09:23:10 -0000 1.5
@@ -39,13 +39,13 @@
# Default values
set one_month [expr 3600*24*31]
+ set one_week [expr 3600*24*7]
- # TODO: provide more sensible default dates?
if { [empty_string_p $enroll_start] } {
- set enroll_start [clock format [expr [clock seconds] + 1*$one_month] -format "%Y-%m-%d"]
+ set enroll_start [clock format [expr [clock seconds]] -format "%Y-%m-%d"]
}
if { [empty_string_p $enroll_end] } {
- set enroll_end [clock format [expr [clock seconds] + 2*$one_month] -format "%Y-%m-%d"]
+ set enroll_end [clock format [expr [clock seconds] + 2*$one_week] -format "%Y-%m-%d"]
}
if { [empty_string_p $enroll_type] } {
set enroll_type "closed"
Index: openacs-4/packages/simulation/www/siminst/simulation-participants.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/simulation-participants.adp,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/simulation/www/siminst/simulation-participants.adp 9 Jan 2004 14:40:03 -0000 1.4
+++ openacs-4/packages/simulation/www/siminst/simulation-participants.adp 12 Jan 2004 09:23:10 -0000 1.5
@@ -1,10 +1,8 @@
- TODO: implement the enrollment type and optional enrollment date
+fields from simulation-enrollment.tcl
TODO: change invited/mandatory checkboxes to a single radio button
set per row: invited/mandatory/none
Auto-Enroll takes effect, and
Index: openacs-4/packages/simulation/www/siminst/simulation-participants.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/simulation-participants.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/simulation/www/siminst/simulation-participants.tcl 9 Jan 2004 14:40:03 -0000 1.3
+++ openacs-4/packages/simulation/www/siminst/simulation-participants.tcl 12 Jan 2004 09:23:10 -0000 1.4
@@ -4,8 +4,6 @@
workflow_id:integer
}
-# TODO: implement the enrollment type and optional enrollment date fields from simulation-enrollment.tcl
-
simulation::template::get -workflow_id $workflow_id -array sim_template
set group_admin_url [export_vars -base "[subsite::get_element -element url]admin/group-types/one" { { group_type group } }]
Index: openacs-4/packages/simulation/www/simplay/cast.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/cast.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/simulation/www/simplay/cast.adp 8 Jan 2004 14:27:56 -0000 1.1
+++ openacs-4/packages/simulation/www/simplay/cast.adp 12 Jan 2004 09:23:10 -0000 1.2
@@ -2,6 +2,10 @@
Select a case (if casting type=group, then say, "and role") to join, or create a new case for yourself. If you do not select a case to join, you will be automatically
+ assigned a case (... and role)
+ when the simulation begins.
+
If no rows, display this text: "There are no cases yet."
Index: openacs-4/packages/simulation/www/simplay/enroll.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/enroll.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/simulation/www/simplay/enroll.adp 8 Jan 2004 14:27:56 -0000 1.1
+++ openacs-4/packages/simulation/www/simplay/enroll.adp 12 Jan 2004 09:23:10 -0000 1.2
@@ -2,8 +2,9 @@
Does enrollment and then displays results based on sim type
@@ -85,7 +89,6 @@
-
-
\ No newline at end of file
Index: openacs-4/packages/simulation/www/siminst/map-characters.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/map-characters.tcl,v
diff -u -r1.11 -r1.12
--- openacs-4/packages/simulation/www/siminst/map-characters.tcl 9 Jan 2004 14:40:03 -0000 1.11
+++ openacs-4/packages/simulation/www/siminst/map-characters.tcl 12 Jan 2004 09:23:10 -0000 1.12
@@ -26,7 +26,6 @@
}
}
-# TODO: remove duplicates from this query
set character_options [simulation::object::get_object_type_options -null_label "" -object_type sim_character]
# Loop over all workflow roles and add a character select widget for each
Index: openacs-4/packages/simulation/www/siminst/simulation-casting-3.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/siminst/simulation-casting-3.adp,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/simulation/www/siminst/simulation-casting-3.adp 8 Jan 2004 14:24:44 -0000 1.10
+++ openacs-4/packages/simulation/www/siminst/simulation-casting-3.adp 12 Jan 2004 09:23:10 -0000 1.11
@@ -44,8 +44,9 @@
-
-
-
+
@@ -85,7 +89,6 @@
-
-
\ No newline at end of file