Index: lams_central/.gitignore
===================================================================
diff -u -r9f4482aa1d29f454f091420cc38d3b27a3f4cc8f -ra13b927ed895f8e3eeaf559371262665e04ff07a
--- lams_central/.gitignore (.../.gitignore) (revision 9f4482aa1d29f454f091420cc38d3b27a3f4cc8f)
+++ lams_central/.gitignore (.../.gitignore) (revision a13b927ed895f8e3eeaf559371262665e04ff07a)
@@ -4,7 +4,6 @@
/web/css/addLesson.css
/web/css/defaultHTML*.css
/web/css/jquery.jqGrid.confidence-level-formattter.css
-/web/css/orgGroup.css
/web/css/orgGrouping.css
/web/css/purple*.css
/web/css/outcome.css
Index: lams_central/conf/language/lams/ApplicationResources.properties
===================================================================
diff -u -r3f3f34c22194aeaf302e1fd332925dffd35019aa -ra13b927ed895f8e3eeaf559371262665e04ff07a
--- lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision 3f3f34c22194aeaf302e1fd332925dffd35019aa)
+++ lams_central/conf/language/lams/ApplicationResources.properties (.../ApplicationResources.properties) (revision a13b927ed895f8e3eeaf559371262665e04ff07a)
@@ -1130,3 +1130,8 @@
label.qb.advanced.search.same.ld.tip = Show only questions which were already used in this sequence's activities.
label.authoring.short.answer.exact.match = Learner answer must exactly match expected answer
signup.email.verify.subject = LAMS confirm email address
+label.grouping.general.instructions.heading = General instructions:
+label.grouping.general.instructions.line1 = Choose a course grouping to use in this lesson or create a new one. You are working with copies, so any changes made here have no influence on the original course groupings. Grouping with zero groups are not listed here. Once a grouping is chosen, the only way to come back to the grouping list is to manually remove all groups.
+label.grouping.general.instructions.line2 = Place the lesson participants in their groups. Initially you can add and remove learners, but once a groups is used (that is, a participant starts an activity that uses the grouping) you will not be able to remove learners from it. Even if a group is in use you can still add learners. The changes are saved immediately.
+label.branching.general.instructions = Place the lesson participants in their branches. Initially you can add and remove learners, but once a participant starts one of the branches then you will not be able to remove learners from any branches. If you try to remove someone from a branch and they will not remove then check their progress - if they start using the branch while you are on this screen you will not get any errors but you will not be able to remove them from the branch. You will still be able to add learners to branches.
+label.grouping.popup.viewmode.message = You are presently in group view mode. Groups can not be modified.
\ No newline at end of file
Index: lams_central/src/java/org/lamsfoundation/lams/web/HomeController.java
===================================================================
diff -u -r3f3f34c22194aeaf302e1fd332925dffd35019aa -ra13b927ed895f8e3eeaf559371262665e04ff07a
--- lams_central/src/java/org/lamsfoundation/lams/web/HomeController.java (.../HomeController.java) (revision 3f3f34c22194aeaf302e1fd332925dffd35019aa)
+++ lams_central/src/java/org/lamsfoundation/lams/web/HomeController.java (.../HomeController.java) (revision a13b927ed895f8e3eeaf559371262665e04ff07a)
@@ -107,6 +107,7 @@
try {
HomeController.log.debug("request appadmin");
+
int orgId = new Integer(req.getParameter("orgId")).intValue();
UserDTO user = getUser();
if (user == null) {
Index: lams_central/src/java/org/lamsfoundation/lams/web/OrganisationGroupController.java
===================================================================
diff -u -ra5b247dd91cb3ffabf9de46cba029e5537fad087 -ra13b927ed895f8e3eeaf559371262665e04ff07a
--- lams_central/src/java/org/lamsfoundation/lams/web/OrganisationGroupController.java (.../OrganisationGroupController.java) (revision a5b247dd91cb3ffabf9de46cba029e5537fad087)
+++ lams_central/src/java/org/lamsfoundation/lams/web/OrganisationGroupController.java (.../OrganisationGroupController.java) (revision a13b927ed895f8e3eeaf559371262665e04ff07a)
@@ -217,8 +217,16 @@
log.debug("Displaying course groups for user " + userId + " and organisation " + organisationId);
}
Long activityId = WebUtil.readLongParam(request, AttributeNames.PARAM_ACTIVITY_ID, true);
- request.setAttribute("canEdit", isGroupSuperuser || (activityId != null));
+ if (activityId == null) {
+ request.setAttribute("canEdit", isGroupSuperuser);
+ } else {
+ Activity activity = (Activity) userManagementService.findById(Activity.class, activityId);
+ request.setAttribute(AttributeNames.PARAM_TITLE, activity.getTitle());
+ request.setAttribute("description", activity.getDescription());
+ request.setAttribute("canEdit", true);
+ }
+
ObjectNode orgGroupingJSON = JsonNodeFactory.instance.objectNode();
orgGroupingJSON.put("organisationId", organisationId);
Index: lams_central/web/WEB-INF/tags/FileUpload5.tag
===================================================================
diff -u
--- lams_central/web/WEB-INF/tags/FileUpload5.tag (revision 0)
+++ lams_central/web/WEB-INF/tags/FileUpload5.tag (revision a13b927ed895f8e3eeaf559371262665e04ff07a)
@@ -0,0 +1,82 @@
+<%@ taglib uri="tags-core" prefix="c"%>
+<%@ taglib uri="tags-lams" prefix="lams"%>
+<%@ taglib uri="tags-function" prefix="fn" %>
+<%@ taglib uri="tags-fmt" prefix="fmt" %>
+
+<%-- Usually fileFieldname and fileFieldId are the same, but DACO needs them to be different.
+ If they can be the same, set fileFieldname and fileFieldId will be set to the same.
+ If you need them different, then define both.
+ If you define neither, fileFieldname = fileFieldId = "fileSelector" --%>
+<%@ attribute name="fileFieldname" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileFieldId" required="false" rtexprvalue="true"%>
+
+<%@ attribute name="fileInputNameFieldname" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileInputMessageKey" required="false" rtexprvalue="true"%>
+
+<%-- Set uploadInfoMessageKey to '-' to NOT show the "not exe and max file size" type message. Leave it blank for the default key label.upload.info --%>
+<%@ attribute name="uploadInfoMessageKey" required="false" rtexprvalue="true"%>
+<%@ attribute name="maxFileSize" required="true" rtexprvalue="true"%>
+<%@ attribute name="tabindex" required="false" rtexprvalue="true"%>
+
+<%-- Only set if you have more than one file field on the screen (such as DACO) --%>
+<%@ attribute name="errorMsgDiv" required="false" rtexprvalue="true"%>
+<%@ attribute name="fileButtonBrowse" required="false" rtexprvalue="true"%>
+
+
+
+
+
-
-
+
+
- |
-
-
-
- |
-
|
+ |
+