Index: lams_central/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -r5523969e2d7fc452301bf0a8403e5afbbae6c92a -r2f1cbd07a19db64085d4fd9e72405a7e9dba14e0 --- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 5523969e2d7fc452301bf0a8403e5afbbae6c92a) +++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 2f1cbd07a19db64085d4fd9e72405a7e9dba14e0) @@ -1160,7 +1160,8 @@ label.questions.choice.taxonomy.level.4 = Analyse label.questions.choice.taxonomy.level.5 = Evaluate label.questions.choice.taxonomy.level.6 = Create -authoring.fla.page.menu.new.ai = Use AI Wizard +authoring.fla.page.menu.new.ai.tbl = Use AI Wizard for Team Based Learning +authoring.fla.page.menu.new.ai.cbl = Use AI Wizard for Case Based Learning authoring.learning.design.ai.wizard = Learning Design AI Wizard label.grouping.return.to.monitoring = Return to monitoring label.import.successful.skipped = {0} learners skipped, including: Index: lams_central/web/authoring/authoring.jsp =================================================================== diff -u -r7c6c781eeb44aa006745032cb26432a3aa37db91 -r2f1cbd07a19db64085d4fd9e72405a7e9dba14e0 --- lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 7c6c781eeb44aa006745032cb26432a3aa37db91) +++ lams_central/web/authoring/authoring.jsp (.../authoring.jsp) (revision 2f1cbd07a19db64085d4fd9e72405a7e9dba14e0) @@ -314,7 +314,8 @@ Index: lams_central/web/includes/javascript/authoring/authoringMenu.js =================================================================== diff -u -raaf022d9434e595399eb5b62293291fe31e31be3 -r2f1cbd07a19db64085d4fd9e72405a7e9dba14e0 --- lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision aaf022d9434e595399eb5b62293291fe31e31be3) +++ lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision 2f1cbd07a19db64085d4fd9e72405a7e9dba14e0) @@ -559,7 +559,7 @@ /** * Opens a pop up for AI window that generates a learning design */ - useAiToCreateLearningDesign : function(){ + useAiToCreateLearningDesign : function(pedagogy){ if (layout.modified && !confirm(LABELS.CLEAR_CANVAS_CONFIRM)) { return; } @@ -587,14 +587,15 @@ var dialog = $(this); // load contents after opening the dialog $('iframe', dialog).attr('id','aiWizardModal') - .attr('src', LAMS_URL + 'ai/authoring/lessonWizard.do').on('load', function(){ - // override the close function so it works with the dialog, not window - this.contentWindow.closeWindow = function(){ - // detach the 'beforeClose' handler above, attach the standard one and close the dialog - dialog.off('hide.bs.modal').on('hide.bs.modal', function(){ - $('iframe', this).attr('src', null); - }).modal('hide'); - } + .attr('src', LAMS_URL + 'ai/authoring/' + pedagogy + '/lessonWizard.do') + .on('load', function(){ + // override the close function so it works with the dialog, not window + this.contentWindow.closeWindow = function(){ + // detach the 'beforeClose' handler above, attach the standard one and close the dialog + dialog.off('hide.bs.modal').on('hide.bs.modal', function(){ + $('iframe', this).attr('src', null); + }).modal('hide'); + } }); }, }, true), Index: lams_central/web/templates/aiCblIntroductionTemplate.html =================================================================== diff -u --- lams_central/web/templates/aiCblIntroductionTemplate.html (revision 0) +++ lams_central/web/templates/aiCblIntroductionTemplate.html (revision 2f1cbd07a19db64085d4fd9e72405a7e9dba14e0) @@ -0,0 +1,20 @@ +

Case Based Learning

+ +

[authoring.introduction.template.1]

+ +

[authoring.introduction.template.2]

+ +
    +
  1. +

    [authoring.cbl.introduction.template.1]

    +
  2. +
  3. +

    [authoring.cbl.introduction.template.2]

    +
  4. +
  5. +

    [authoring.cbl.introduction.template.3]

    +
  6. +
  7. +

    [authoring.cbl.introduction.template.4]

    +
  8. +
\ No newline at end of file Index: lams_central/web/templates/aiTblIntroductionTemplate.html =================================================================== diff -u -rce8573f7b47a6e77466b022fba0c1d8a77d0c8ee -r2f1cbd07a19db64085d4fd9e72405a7e9dba14e0 --- lams_central/web/templates/aiTblIntroductionTemplate.html (.../aiTblIntroductionTemplate.html) (revision ce8573f7b47a6e77466b022fba0c1d8a77d0c8ee) +++ lams_central/web/templates/aiTblIntroductionTemplate.html (.../aiTblIntroductionTemplate.html) (revision 2f1cbd07a19db64085d4fd9e72405a7e9dba14e0) @@ -6,21 +6,21 @@
  1. -

    [authoring.introduction.template.3]

    +

    [authoring.tbl.introduction.template.1]

  2. -

    [authoring.introduction.template.4]

    +

    [authoring.tbl.introduction.template.2]

  3. -

    [authoring.introduction.template.5]

    +

    [authoring.tbl.introduction.template.3]

  4. -

    [authoring.introduction.template.6]

    +

    [authoring.tbl.introduction.template.4]

  5. -

    [authoring.introduction.template.7]

    +

    [authoring.tbl.introduction.template.5]

  6. -

    [authoring.introduction.template.8]

    +

    [authoring.tbl.introduction.template.6]

\ No newline at end of file