Skip to content

Commit

Permalink
Merge pull request #519 from EUSurvey/ESURVEY-8157
Browse files Browse the repository at this point in the history
ESURVEY-8157: Disable creation of EU list - guest lists as well as ed…
  • Loading branch information
clam2310 authored Oct 20, 2023
2 parents 74c30cf + 00051b3 commit 8c7c1f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,9 +797,9 @@ public ModelAndView sendInvitationsPOST(@PathVariable String shortname, HttpServ
paging.setItemsPerPage(itemsPerPage);
paging.setCurrentPage(Integer.parseInt(newPage));

List<EcasUser> users = ldapDBService.getECASUsers(name, department, email, domain, Integer.parseInt(newPage),
itemsPerPage);
paging.setItems(users);
//List<EcasUser> users = ldapDBService.getECASUsers(name, department, email, domain, Integer.parseInt(newPage),
// itemsPerPage);
//paging.setItems(users);

return paging;
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/webapp/WEB-INF/views/management/participants.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@

<span style="margin-right: 20px"><spring:message code="label.CreateNew" /></span>
<a onclick="_participants.newContactList()" class="btn btn-success"><span class="glyphicon glyphicon-book"></span> <spring:message code="label.ContactList" /></a>
<a onclick="_participants.newEUList()" class="btn btn-success"><span class="glyphicon glyphicon-user"></span> <spring:message code="label.EUList" /></a>
<!-- <a onclick="_participants.newEUList()" class="btn btn-success"><span class="glyphicon glyphicon-user"></span> <spring:message code="label.EUList" /></a> -->
<a onclick="_participants.newTokenList()" class="btn btn-success"><span class="glyphicon glyphicon-barcode"></span> <spring:message code="label.TokenList" /></a>

</c:if>
Expand Down Expand Up @@ -445,7 +445,7 @@
<a id="btnDeactivateFromParticipant" class="iconbutton disabled" data-class="deactivatebutton" onclick="return false;" data-toggle="tooltip" title="<spring:message code="label.Deactivate" />"><span class='glyphicon glyphicon-stop'></span></a>
<!-- /ko -->
<!-- ko if: editEnabled() -->
<a id="btnEditEnabledFromParticipant" class="iconbutton" data-toggle="tooltip" title="<spring:message code="label.Edit" />" data-bind="click: edit"><span class='glyphicon glyphicon-pencil'></span></a>
<!-- <a id="btnEditEnabledFromParticipant" class="iconbutton" data-toggle="tooltip" title="<spring:message code="label.Edit" />" data-bind="click: edit"><span class='glyphicon glyphicon-pencil'></span></a> -->
<!-- /ko -->
<!-- ko if: !editEnabled() -->
<a id="btnEditDisabledFromParticipant" class="iconbutton disabled" data-toggle="tooltip" title="<spring:message code="label.Edit" />"><span class='glyphicon glyphicon-pencil'></span></a>
Expand Down Expand Up @@ -484,7 +484,7 @@
<a id="btnSendDisabledFromParticipant" data-class="sendbutton" class="iconbutton disabled" data-toggle="tooltip" title="<spring:message code="label.SendInvitations" />"><span class='glyphicon glyphicon-envelope'></span></a>
<!-- /ko -->
<!-- ko if: editEnabled() -->
<a id="btnEditEnabledFromParticipant" class="iconbutton" data-toggle="tooltip" title="<spring:message code="label.Edit" />" data-bind="attr: {href: '<c:url value="/${sessioninfo.shortname}/management/participantsEdit" />?id=' + id()}"><span class='glyphicon glyphicon-pencil'></span></a>
<!-- <a id="btnEditEnabledFromParticipant" class="iconbutton" data-toggle="tooltip" title="<spring:message code="label.Edit" />" data-bind="attr: {href: '<c:url value="/${sessioninfo.shortname}/management/participantsEdit" />?id=' + id()}"><span class='glyphicon glyphicon-pencil'></span></a> -->
<!-- /ko -->
<!-- ko if: !editEnabled() -->
<a id="btnEditDisabledFromParticipant" class="iconbutton disabled" data-toggle="tooltip" title="<spring:message code="label.Edit" />"><span class='glyphicon glyphicon-pencil'></span></a>
Expand Down Expand Up @@ -536,11 +536,11 @@
<spring:message code="label.ContactList" /><br /><br />
<span class="info"><spring:message code="info.ContactList" /></span>
</a>
<a onclick="_participants.newEUList()" class="btn btn-success createlist">
<!-- <a onclick="_participants.newEUList()" class="btn btn-success createlist">
<span class="glyphicon glyphicon-user"></span><br />
<spring:message code="label.EUList" /><br /><br />
<span class="info"><spring:message code="info.EUList" /></span>
</a>
</a> -->
<a onclick="_participants.newTokenList()" class="btn btn-success createlist">
<span class="glyphicon glyphicon-barcode"></span><br />
<spring:message code="label.TokenList" /><br /><br />
Expand Down

0 comments on commit 8c7c1f3

Please sign in to comment.