Index: openacs-4/contrib/packages/simulation/lib/case-history.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/case-history.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/lib/case-history.adp 11 Mar 2004 15:15:05 -0000 1.1 +++ openacs-4/contrib/packages/simulation/lib/case-history.adp 12 Mar 2004 15:49:43 -0000 1.2 @@ -1,4 +1,4 @@ -

Actions

+

Tasks

Index: openacs-4/contrib/packages/simulation/lib/case-history.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/case-history.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/contrib/packages/simulation/lib/case-history.tcl 11 Mar 2004 15:15:05 -0000 1.1 +++ openacs-4/contrib/packages/simulation/lib/case-history.tcl 12 Mar 2004 15:49:43 -0000 1.2 @@ -28,7 +28,7 @@ link_url_eval {[acs_community_member_url -user_id $creation_user]} } action_pretty { - label "Action" + label "Task" link_url_col action_url } } Index: openacs-4/contrib/packages/simulation/www/simplay/task-detail.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/www/simplay/Attic/task-detail.tcl,v diff -u -N -r1.21 -r1.22 --- openacs-4/contrib/packages/simulation/www/simplay/task-detail.tcl 12 Mar 2004 15:34:55 -0000 1.21 +++ openacs-4/contrib/packages/simulation/www/simplay/task-detail.tcl 12 Mar 2004 15:49:43 -0000 1.22 @@ -19,9 +19,9 @@ if { [llength $enabled_action_id] > 1 } { set bulk_p 1 -} +} -if { !$bulk_p } { +if { [llength $enabled_action_id] == 1 } { workflow::case::enabled_action_get -enabled_action_id $enabled_action_id -array enabled_action set action_id $enabled_action(action_id) @@ -69,10 +69,13 @@ [ad_html_text_convert -from $mime_type -to "text/plain" $triggering_body]" - ad_returnredirect [export_vars -base [ad_conn url] { enabled_action_id role_id subject body}] + ad_returnredirect [export_vars -base [ad_conn url] { enabled_action_id role_id subject body bulk_p}] } } + set common_actions_count 1 + set ignored_actions_count 0 + } else { # Only admin users can neglect to provide case_id and role_id permission::require_permission -object_id [ad_conn package_id] -privilege sim_adminplayer Index: openacs-4/packages/simulation/lib/case-history.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/case-history.adp,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/simulation/lib/case-history.adp 11 Mar 2004 15:15:05 -0000 1.1 +++ openacs-4/packages/simulation/lib/case-history.adp 12 Mar 2004 15:49:43 -0000 1.2 @@ -1,4 +1,4 @@ -

Actions

+

Tasks

Index: openacs-4/packages/simulation/lib/case-history.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/case-history.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/simulation/lib/case-history.tcl 11 Mar 2004 15:15:05 -0000 1.1 +++ openacs-4/packages/simulation/lib/case-history.tcl 12 Mar 2004 15:49:43 -0000 1.2 @@ -28,7 +28,7 @@ link_url_eval {[acs_community_member_url -user_id $creation_user]} } action_pretty { - label "Action" + label "Task" link_url_col action_url } } Index: openacs-4/packages/simulation/www/simplay/task-detail.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simplay/task-detail.tcl,v diff -u -N -r1.21 -r1.22 --- openacs-4/packages/simulation/www/simplay/task-detail.tcl 12 Mar 2004 15:34:55 -0000 1.21 +++ openacs-4/packages/simulation/www/simplay/task-detail.tcl 12 Mar 2004 15:49:43 -0000 1.22 @@ -19,9 +19,9 @@ if { [llength $enabled_action_id] > 1 } { set bulk_p 1 -} +} -if { !$bulk_p } { +if { [llength $enabled_action_id] == 1 } { workflow::case::enabled_action_get -enabled_action_id $enabled_action_id -array enabled_action set action_id $enabled_action(action_id) @@ -69,10 +69,13 @@ [ad_html_text_convert -from $mime_type -to "text/plain" $triggering_body]" - ad_returnredirect [export_vars -base [ad_conn url] { enabled_action_id role_id subject body}] + ad_returnredirect [export_vars -base [ad_conn url] { enabled_action_id role_id subject body bulk_p}] } } + set common_actions_count 1 + set ignored_actions_count 0 + } else { # Only admin users can neglect to provide case_id and role_id permission::require_permission -object_id [ad_conn package_id] -privilege sim_adminplayer