Index: openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-template-tasks.tcl,v diff -u -r1.19 -r1.20 --- openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 7 Jan 2004 14:44:08 -0000 1.19 +++ openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 8 Jan 2004 09:30:50 -0000 1.20 @@ -52,19 +52,6 @@ Edit } } -lappend elements initialize { - label "Init" - display_template { - - Initial action - - - Set as initial action - - } - html { align center } - sub_class narrow -} lappend elements name { label "Name" display_col pretty_name @@ -82,17 +69,11 @@ } lappend elements state_spacer { - label "        " + label "|   States:" sub_class narrow display_template " " } -lappend elements state_spacer2 { - label "States:" - sub_class narrow - display_template " " -} - set states [list] db_foreach select_states { @@ -120,21 +101,6 @@ } } -# TODO: make the mocked up task enable list real -# LARS: Add state button in header removed -if 0 { - lappend elements add_state { - label { -
- [export_vars -form { workflow_id}] - -
- } - display_template { } - } -} - - lappend elements delete { sub_class narrow hide_p {[ad_decode $display_mode edit 0 1]} @@ -204,6 +170,10 @@ workflow_fsm_actions wfa where wa.workflow_id = :workflow_id and wfa.action_id = wa.action_id + and not exists (select 1 + from workflow_initial_action ia + where ia.workflow_id = wa.workflow_id + and ia.action_id = wa.action_id) order by wa.sort_order " { set edit_url [export_vars -base "[apm_package_url_from_id $package_id]simbuild/task-edit" { action_id }]