<% if(!hideParentGrp){ %>
Parent Group:
<%}%> <% var isGovStaffAdmin = commonApp.user.isAdmin() || commonApp.user.isGovStaff() || commonApp.user.isProgramManagementManager(); //var isSponsorDesignee = commonApp.user.isSponsorDesignee(null, true,'workingGroup'); var entityDisabledProperty = ''; var indDisabledProperty = ''; // check for edit if (groupVO.internalId) { entityDisabledProperty = (groupVO.sponsoredInd == 'N' || !isGovStaffAdmin ) ? 'disabled' : ''; indDisabledProperty = (!isGovStaffAdmin ) ? 'disabled' : ''; } else { // check for new entityDisabledProperty = (groupVO.sponsoredInd == 'N') ? 'disabled' : ''; indDisabledProperty = ''; } %>
Study Group Type:
checked <%= groupVO.sponsoredInd == 'N' ? 'checked' : '' %>/>
<%= entityDisabledProperty %>/>
Group Name:
Group Short Name:
Group Description:
URL:
<% if (groupVO.groupStatusTx == 'ACTIVE') { %>
Register Interest URL:
<%= window.location.origin + "/myproject-web/public/view.html#/interest/" + groupVO.internalId %>
<% } %>

Participation Level Options

Check all participation level options applicable to this group.

You must select at least one involvement level <% var i=0; _.each(commonApp.lookup.get('GRP_INVOLVEMENT_LEVEL_TYPE'), function(involvementType){%> <% if((i % 2) == 0){ %>
<% } %>
<%= ($.inArray(involvementType.refCode,groupVO.groupMetaData.GRP_INVOLVEMENT_LEVEL_TYPE)!= -1 || involvementType.otherAttribute.indexOf(grpType) != -1) ? 'checked' : '' %> class="<%= myClass %>" <%}else if(involvementType.otherAttribute.indexOf(groupVO.groupType) != -1){%> checked class="<%= myClass %>"<% } %> <%=myClass%>/>
<% if((i % 2) == 1){ %>
<% } i++;%> <% }); %>

Features

Check all features that should be made available to members of this group.

<%_.each(commonApp.lookup.get('GRP_FEATURE'), function(groupFeature){ %>
<%if(groupFeature.refCode == $.i18n.prop('myproject.group.feature.document')){%> <% if(groupVO.groupMetaData != null && typeof groupVO.groupMetaData.GRP_FEATURE != 'undefined') { var myClass= groupFeature.otherAttribute.indexOf(groupVO.groupType) != -1 ? 'disabled' : '' ;%> <%= ($.inArray(groupFeature.refCode,groupVO.groupMetaData.GRP_FEATURE)!= -1 || groupFeature.otherAttribute.indexOf(groupVO.groupType) != -1) ? 'checked' : '' %> class="<%= myClass %>" <%}%> >
<%= groupVO.reviseDocumentPermissionInd == 'YES' ? 'checked': '' %><%}%> >
<%}else{%> <% if(groupVO.groupMetaData != null && typeof groupVO.groupMetaData.GRP_FEATURE != 'undefined') { var myClass= groupFeature.otherAttribute.indexOf(groupVO.groupType) != -1 ? 'disabled' : '' ;%> <%= ($.inArray(groupFeature.refCode,groupVO.groupMetaData.GRP_FEATURE)!= -1 || groupFeature.otherAttribute.indexOf(groupVO.groupType) != -1) ? 'checked' : '' %> class="<%= myClass %>" <%}%> > <%}%>
<% }); %>