Index: lams_central/conf/language/lams/ApplicationResources.properties =================================================================== diff -u -r2ae92878c21c1cfeff66305f60e630191d1c64aa -r1597a42cd0d882c7554053e17481671ed45513fb --- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 2ae92878c21c1cfeff66305f60e630191d1c64aa) +++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 1597a42cd0d882c7554053e17481671ed45513fb) @@ -855,6 +855,10 @@ authoring.label.application.exercise.doku.instructions = Instructions authoring.label.application.exercise.doku.gallery.walk.enabled = Gallery Walk authoring.label.application.exercise.doku.gallery.walk.enabled.tooltip = Use Gallery Walk to promote inter- and intra-teams discussion, higher order thinking, cooperative learning and team building. If enabled, after you start Gallery Walk in Monitoring, the document created for each team is shared to all other teams. Teams then can give each others feedback and rate on their work. +authoring.label.application.exercise.doku.gallery.walk.read.only = Disable commentary and rating +authoring.label.application.exercise.doku.gallery.walk.read.only.tooltip = Students will not be able to neither comment on nor rate other groups' work. +authoring.label.application.exercise.doku.gallery.walk.instructions = Instructions for Gallery Walk (ie: Please review other groups' work and make sure you add your review/comments) + authoring.label.question.num = Question {0} authoring.label.option.num = Option {0} authoring.error.option = Option may not be blank Index: lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/LdTemplateController.java =================================================================== diff -u -rb072b4e03e4d50c9013514f96a7ab5fcf30b5391 -r1597a42cd0d882c7554053e17481671ed45513fb --- lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/LdTemplateController.java (.../LdTemplateController.java) (revision b072b4e03e4d50c9013514f96a7ab5fcf30b5391) +++ lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/LdTemplateController.java (.../LdTemplateController.java) (revision 1597a42cd0d882c7554053e17481671ed45513fb) @@ -1254,14 +1254,16 @@ * Helper method to create a doKumaran tool content. */ protected Long createDokumaranToolContent(UserDTO user, String title, String description, String instructions, - boolean selectLeaderToolOutput, boolean galleryWalkEnabled, String reflectionInstructions) - throws IOException { + boolean selectLeaderToolOutput, boolean galleryWalkEnabled, boolean galleryWalkReadOnly, + String galleryWalkInstructions, String reflectionInstructions) throws IOException { ObjectNode toolContentJSON = AuthoringService.createStandardToolContent(title, description, reflectionInstructions, null, null, user); toolContentJSON.put(RestTags.USE_SELECT_LEADER_TOOL_OUTPUT, selectLeaderToolOutput); toolContentJSON.put("etherpadInstructions", instructions); toolContentJSON.put("galleryWalkEnabled", galleryWalkEnabled); + toolContentJSON.put("galleryWalkReadOnly", galleryWalkReadOnly); + toolContentJSON.put("galleryWalkInstructions", galleryWalkInstructions); return authoringService.createToolContent(user, LdTemplateController.DOKU_TOOL_SIGNATURE, toolContentJSON); } Index: lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/TBLTemplateController.java =================================================================== diff -u -rcc4ec2888edbbef92a9befd749f8c5e37bd5c99a -r1597a42cd0d882c7554053e17481671ed45513fb --- lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/TBLTemplateController.java (.../TBLTemplateController.java) (revision cc4ec2888edbbef92a9befd749f8c5e37bd5c99a) +++ lams_central/src/java/org/lamsfoundation/lams/authoring/template/web/TBLTemplateController.java (.../TBLTemplateController.java) (revision 1597a42cd0d882c7554053e17481671ed45513fb) @@ -230,7 +230,8 @@ // it is doKumaran type AE Long aetoolContentId = createDokumaranToolContent(userDTO, applicationExerciseTitle, applicationExercise.dokuDescription, applicationExercise.dokuInstructions, false, - applicationExercise.dokuGalleryWalkEnabled, null); + applicationExercise.dokuGalleryWalkEnabled, applicationExercise.dokuGalleryWalkReadOnly, + applicationExercise.dokuGalleryWalkInstructions, null); activities.add(createDokumaranActivity(maxUIID, order++, currentActivityPosition, aetoolContentId, data.contentFolderID, groupingUIID, null, null, applicationExerciseTitle)); } else { @@ -329,6 +330,8 @@ String dokuDescription; String dokuInstructions; boolean dokuGalleryWalkEnabled; + boolean dokuGalleryWalkReadOnly; + String dokuGalleryWalkInstructions; boolean useNoticeboard = false; String noticeboardInstructions; @@ -555,6 +558,10 @@ } else { newAppex.dokuGalleryWalkEnabled = WebUtil.readBooleanParam(request, appexDiv + "dokuGalleryWalkEnabled", false); + newAppex.dokuGalleryWalkReadOnly = WebUtil.readBooleanParam(request, + appexDiv + "dokuGalleryWalkReadOnly", false); + newAppex.dokuGalleryWalkInstructions = WebUtil.readStrParam(request, + appexDiv + "dokuGalleryWalkInstructions", true); } if (newAppex.assessments != null || StringUtils.isNotBlank(newAppex.dokuDescription) Index: lams_central/web/authoring/template/tbl/appexDoku.jsp =================================================================== diff -u -rcc4ec2888edbbef92a9befd749f8c5e37bd5c99a -r1597a42cd0d882c7554053e17481671ed45513fb --- lams_central/web/authoring/template/tbl/appexDoku.jsp (.../appexDoku.jsp) (revision cc4ec2888edbbef92a9befd749f8c5e37bd5c99a) +++ lams_central/web/authoring/template/tbl/appexDoku.jsp (.../appexDoku.jsp) (revision 1597a42cd0d882c7554053e17481671ed45513fb) @@ -58,6 +58,23 @@ +