Fixing [Bug #18577]
This commit is contained in:
parent
4813990d69
commit
fb223e6c49
|
@ -6,6 +6,7 @@
|
|||
</Change>
|
||||
<Change>[Feature #18150] Get Shareable Link coy to clipboard facility
|
||||
</Change>
|
||||
<Change>[Bug #18577] Fixing Shareable link informative text for public file</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.portlets-user.workspace-portlet-tree.6-28-1"
|
||||
|
|
|
@ -85,6 +85,9 @@ public class DialogShareableLink extends Composite {
|
|||
@UiField
|
||||
Well alertFilePublicLink;
|
||||
|
||||
@UiField
|
||||
Well alertVersionedFilePublicLink;
|
||||
|
||||
@UiField
|
||||
Well alertFolderPublicLink;
|
||||
|
||||
|
@ -430,6 +433,7 @@ public class DialogShareableLink extends Composite {
|
|||
fieldPrivateSharing.setVisible(false);
|
||||
cgPublicLink.setVisible(false);
|
||||
alertFilePublicLink.setVisible(false);
|
||||
alertVersionedFilePublicLink.setVisible(false);
|
||||
alertFolderPublicLink.setVisible(false);
|
||||
filedEnableDisableSharing.setVisible(false);
|
||||
buttonShareSettings.setVisible(false);
|
||||
|
@ -489,7 +493,13 @@ public class DialogShareableLink extends Composite {
|
|||
//panelFieldsContainer.setVisible(true);
|
||||
cgPublicLink.setVisible(true);
|
||||
filedEnableDisableSharing.setVisible(true);
|
||||
alertFilePublicLink.setVisible(true);
|
||||
|
||||
if(version!=null && !version.isEmpty()) {
|
||||
alertVersionedFilePublicLink.setVisible(true); //Message for versioned File
|
||||
}else {
|
||||
alertFilePublicLink.setVisible(true); //Message for latest version of File
|
||||
}
|
||||
|
||||
if(!item.isPublic()) { //THE FILE IS PRIVATE
|
||||
switchButton.setVisible(false);
|
||||
if(version!=null && !version.isEmpty()) {
|
||||
|
|
|
@ -148,13 +148,19 @@
|
|||
view
|
||||
the
|
||||
content. No login required</b:Well>
|
||||
<b:Well ui:field="alertFilePublicLink" visible="false">By sharing
|
||||
<b:Well ui:field="alertFilePublicLink" visible="false">Anyone with
|
||||
this link can download it, no login is required. This link will
|
||||
always point to the latest version of the file</b:Well>
|
||||
<b:Well ui:field="alertVersionedFilePublicLink"
|
||||
visible="false">By sharing
|
||||
the following
|
||||
Public Link, anyone with link can download it.
|
||||
Public Link, anyone with link can
|
||||
download it.
|
||||
The
|
||||
link will always point to the
|
||||
version
|
||||
of the file at the
|
||||
of the file at
|
||||
the
|
||||
time of link
|
||||
creation. No login required</b:Well>
|
||||
<b:ControlLabel>Public Link</b:ControlLabel>
|
||||
|
@ -164,8 +170,8 @@
|
|||
<b:TextBox ui:field="textPublicLink" readOnly="true">
|
||||
</b:TextBox>
|
||||
<b:Tooltip text='Copied to clipboard' trigger="MANUAL">
|
||||
<b:Button icon="COPY"
|
||||
ui:field="publicLinkCopyButton" type="PRIMARY"></b:Button>
|
||||
<b:Button icon="COPY" ui:field="publicLinkCopyButton"
|
||||
type="PRIMARY"></b:Button>
|
||||
</b:Tooltip>
|
||||
</b:InputAddOn>
|
||||
<b:Button ui:field="showPublicLongLinkButton" type="LINK"
|
||||
|
|
Loading…
Reference in New Issue