ref 17169: Selection of users in the Sharing panel
https://support.d4science.org/issues/17169 Updated support to VREs discovery git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@181384 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
39530ba189
commit
bedf1b6a71
|
@ -2743,8 +2743,9 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
final List<InfoContactModel> targets = multiDragContactAdmin.getTargetContacts();
|
||||
|
||||
if (targets.size() == 1) {
|
||||
MessageBoxConfirm info = new MessageBoxConfirm("Any Administrator/s?",
|
||||
"You have not selected any Administrator, confirm only you as Administrator and exit?");
|
||||
MessageBoxConfirm info = new MessageBoxConfirm("Attention",
|
||||
"Attention the owner is already Administrator. You have not selected further administrators."
|
||||
+ " Confirm and exit?");
|
||||
|
||||
info.getMessageBoxConfirm().addCallback(new Listener<MessageBoxEvent>() {
|
||||
|
||||
|
@ -2770,11 +2771,11 @@ public class AppControllerExplorer implements EventHandler, TreeAppControllerInt
|
|||
names += "<li><i>" + infoContactModel.getName() + ";</i></li>";
|
||||
}
|
||||
|
||||
String tail = "</ul>as new ";
|
||||
String tail = "</ul>as ";
|
||||
tail += logins.size() > 1 ? "administrators" : "administrator";
|
||||
tail += ", confirm?";
|
||||
MessageBoxConfirm confirm = new MessageBoxConfirm("Setting new Administrator/s?",
|
||||
"You have selected: <br/>" + names + tail);
|
||||
MessageBoxConfirm confirm = new MessageBoxConfirm("Attention",
|
||||
"The owner and the current user are administrators. Selected: <br/>" + names + tail);
|
||||
|
||||
confirm.getMessageBoxConfirm().addCallback(new Listener<MessageBoxEvent>() {
|
||||
|
||||
|
|
Loading…
Reference in New Issue