From dc1188cf2be66e3a80de3fa449b48aad128f3de0 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Mon, 17 May 2021 18:19:15 +0200 Subject: [PATCH] fixed the control-label "Synched with THREDDS" --- .../client/view/windows/DialogGetInfoBootstrap.java | 5 ++++- .../client/view/windows/DialogGetInfoBootstrap.ui.xml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.java b/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.java index 266ee1a..a454f6c 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.java +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.java @@ -294,10 +294,13 @@ public class DialogGetInfoBootstrap extends Composite { if (fileModel.isDirectory()) { cgTxtIsPublic.setVisible(true); htmlSetValue(txtIsPublic, fileModel.isPublic() + ""); + + GWT.log("Is synched? "+fileModel.getSynchedWithWsThredds()); if (fileModel.getSynchedWithWsThredds() != null) { if (fileModel.getSynchedWithWsThredds()) { - txtThreddsSynched.setVisible(true); + cgThreddsSynched.setVisible(true); + //txtThreddsSynched.setVisible(true); htmlSetValue(txtThreddsSynched, fileModel.getSynchedWithWsThredds() + ""); txtThreddsSynched.setHTML(fileModel.getSynchedWithWsThredds() + ""); } diff --git a/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.ui.xml b/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.ui.xml index 69fe783..dcb10f9 100644 --- a/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.ui.xml +++ b/src/main/java/org/gcube/portlets/user/workspace/client/view/windows/DialogGetInfoBootstrap.ui.xml @@ -73,7 +73,7 @@ - Synched with Thredds + Synched