Index: lams_common/db/sql/updatescripts/alter_21_branching.sql =================================================================== diff -u -rb47e590fe328a0e131c9fa34d1e24633904a42f9 -r396082286ff017a5a2f985f41f6ba090e2b222cf --- lams_common/db/sql/updatescripts/alter_21_branching.sql (.../alter_21_branching.sql) (revision b47e590fe328a0e131c9fa34d1e24633904a42f9) +++ lams_common/db/sql/updatescripts/alter_21_branching.sql (.../alter_21_branching.sql) (revision 396082286ff017a5a2f985f41f6ba090e2b222cf) @@ -67,34 +67,43 @@ INSERT INTO lams_learning_activity_type VALUES (12, 'BRANCHING_TOOL'); INSERT INTO lams_learning_activity_type VALUES (13, 'OPTIONS_WITH_SEQUENCES'); - INSERT INTO lams_system_tool (system_tool_id, learning_activity_type_id, tool_display_name, description, learner_url, learner_preview_url, learner_progress_url, export_pfolio_learner_url, export_pfolio_class_url, monitor_url, contribute_url, create_date_time) VALUES (6, 10, 'Monitor Chosen Branching', 'Select between multiple sequence activities, with the branch chosen in monitoring.', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=viewBranching&mode=teacher', NULL, - 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/branching.do?method=assignBranch', - 'monitoring/branching.do?method=assignBranch', now()); + 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/chosenBranching.do?method=assignBranch', + 'monitoring/chosenBranching.do?method=assignBranch', now()); INSERT INTO lams_system_tool (system_tool_id, learning_activity_type_id, tool_display_name, description, learner_url, learner_preview_url, learner_progress_url, export_pfolio_learner_url, export_pfolio_class_url, monitor_url, contribute_url, create_date_time) VALUES (7, 11, 'Group Based Branching', 'Select between multiple sequence activities, with the branch chosen by an existing group.', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=viewBranching&mode=teacher', NULL, - 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/branching.do?method=assignBranch', - 'monitoring/branching.do?method=assignBranch', now()); + 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/groupedBranching.do?method=viewBranching', + 'monitoring/groupedBranching.do?method=assignBranch', now()); INSERT INTO lams_system_tool (system_tool_id, learning_activity_type_id, tool_display_name, description, learner_url, learner_preview_url, learner_progress_url, export_pfolio_learner_url, export_pfolio_class_url, monitor_url, contribute_url, create_date_time) VALUES (8, 12, 'Tool Output Based Branching', 'Select between multiple sequence activities, with the branch chosen on results of another activity.', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=performBranching', 'learning/branching.do?method=viewBranching&mode=teacher', NULL, - 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/branching.do?method=assignBranch', - 'monitoring/branching.do?method=assignBranch', now()); + 'monitoring/branchingExportPortfolio?mode=teacher', 'monitoring/toolBranching.do?method=viewBranching', + 'monitoring/toolBranching.do?method=viewBranching', now()); +INSERT INTO lams_system_tool (system_tool_id, learning_activity_type_id, tool_display_name, description, + learner_url, learner_preview_url, learner_progress_url, export_pfolio_learner_url, + export_pfolio_class_url, monitor_url, contribute_url, create_date_time) +VALUES (9, 8, 'Sequence', 'A sequence of activities', + 'learning/SequenceActivity.do', 'learning/SequenceActivity.do', + NULL, NULL, + 'monitoring/sequenceExportPortfolio?mode=teacher', 'monitoring/sequence.do?method=viewSequence', + 'monitoring/sequence.do?method=viewSequence', now()); + + -- support tools having an admin screen ALTER TABLE lams_tool ADD COLUMN admin_url TEXT;