Updated shareable links description

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@181841 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-09-24 13:13:37 +00:00
parent 397e845955
commit 6b1d630032
3 changed files with 14 additions and 19 deletions

View File

@ -116,8 +116,8 @@ public class DialogShareableLink extends Composite {
private boolean itemIsPublicStatus; private boolean itemIsPublicStatus;
private final String privateShareToFileDescription = "By sharing the following Private Link " private final String privateShareToFileDescription = "By sharing the following Private Link "
+ "to file with your coworkers, you will enact the users of the group the folder is shared with, " + "with your coworkers, you will enact the users of the group the folder is shared with, "
+ "after login, to access the file and the shared folder content"; + "to access the file and the shared folder content. Login required";
/** /**
@ -223,8 +223,9 @@ public class DialogShareableLink extends Composite {
fieldSetPrivate.setVisible(true); fieldSetPrivate.setVisible(true);
fieldPrivateSharing.setVisible(true); fieldPrivateSharing.setVisible(true);
if(item.isShareable()) if(item.isShareable()) {
buttonShareSettings.setVisible(true); buttonShareSettings.setVisible(true);
}
loadAndShowPrivateLink(item, textPrivateLink); loadAndShowPrivateLink(item, textPrivateLink);
@ -235,7 +236,7 @@ public class DialogShareableLink extends Composite {
//labelLinkSharing.setText("Only your cowokers (sharing members) can access to the content"); //labelLinkSharing.setText("Only your cowokers (sharing members) can access to the content");
} }
} }
//THE FOLDER IS PRIVATE - NO SHARED AND NO PUBLIC //THE FOLDER IS PRIVATE - NO SHARED AND NO PUBLIC
if(!item.isPublic() && !item.isShared()) { if(!item.isPublic() && !item.isShared()) {
@ -243,6 +244,7 @@ public class DialogShareableLink extends Composite {
if(item.isShareable()) { if(item.isShareable()) {
fieldPrivateSharing.setVisible(true); fieldPrivateSharing.setVisible(true);
buttonShareSettings.setVisible(true); buttonShareSettings.setVisible(true);
buttonShareSettings.setText("Enable Share");
} }
//SHARING WITH EVERYONE //SHARING WITH EVERYONE

View File

@ -79,15 +79,12 @@
addStyleNames="my-control-group"> addStyleNames="my-control-group">
<b:Well ui:field="wellPrivateLinkDescription"> <b:Well ui:field="wellPrivateLinkDescription">
By sharing the following Private Link By sharing the following Private Link with
to
folder with
your your
coworkers, coworkers,
you will enact the users of the group you will enact the users of the group
the folder is shared with, the folder is shared with to access the shared
after login, to access the shared folder content. Login required</b:Well>
folder content</b:Well>
<b:ControlLabel>Private Link</b:ControlLabel> <b:ControlLabel>Private Link</b:ControlLabel>
<b:Controls> <b:Controls>
<b:InputAddOn prependIcon="LINK" <b:InputAddOn prependIcon="LINK"
@ -119,23 +116,19 @@
<b:ControlGroup ui:field="cgPublicLink" addStyleNames="my-control-group"> <b:ControlGroup ui:field="cgPublicLink" addStyleNames="my-control-group">
<b:Well ui:field="alertFolderPublicLink" visible="false">By sharing <b:Well ui:field="alertFolderPublicLink" visible="false">By sharing
the following Public the following Public
Link Link, you will
to folder, you will
enact anyone enact anyone
with the with the
link to link to
view the view the
content, no login will be content. No login required</b:Well>
requested</b:Well>
<b:Well ui:field="alertFilePublicLink" visible="false">By sharing <b:Well ui:field="alertFilePublicLink" visible="false">By sharing
the following the following
Public Link to file, your coworkers can download it. Public Link, anyone with link can download it.
No login will be
requested.
The link will always point to the The link will always point to the
version version
of the file at the of the file at the
time of link creation</b:Well> time of link creation. No login required</b:Well>
<b:ControlLabel>Public Link</b:ControlLabel> <b:ControlLabel>Public Link</b:ControlLabel>
<b:Controls> <b:Controls>
<b:InputAddOn prependIcon="GLOBE" <b:InputAddOn prependIcon="GLOBE"

View File

@ -288,5 +288,5 @@ table.userssuggest th {
} }
.my-control-group .gwt-TextBox { .my-control-group .gwt-TextBox {
width: 370px !important; width: 360px !important;
} }