Converting VREMember Portlet to JoinVRE needs
git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/join-vre@112303 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e5e79fa0cb
commit
9890124d0a
|
@ -26,10 +26,9 @@ public class DisplayVRE extends Composite {
|
|||
|
||||
interface DisplayBadgeUiBinder extends UiBinder<Widget, DisplayVRE> {}
|
||||
|
||||
// TODO Change This
|
||||
public static final String avatar_default = GWT.getModuleBaseURL() + "../images/Avatar_default.png";
|
||||
public static final String vreDefault = GWT.getModuleBaseURL() + "../images/vre-default.png";
|
||||
|
||||
public static final String loading = GWT.getModuleBaseURL() + "../images/avatarLoader.gif";
|
||||
public static final String loading = GWT.getModuleBaseURL() + "../images/vre-image-loader.gif";
|
||||
|
||||
@UiField HTMLPanel mainPanel;
|
||||
@UiField Image vreImage;
|
||||
|
@ -51,12 +50,10 @@ public class DisplayVRE extends Composite {
|
|||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void showError(String message) {
|
||||
Window.alert("Failure: " + message);
|
||||
vreImage.setSize("100px", "100px");
|
||||
vreImage.setUrl(avatar_default);
|
||||
vreImage.setUrl(vreDefault);
|
||||
}
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 997 B |
Binary file not shown.
After Width: | Height: | Size: 9.8 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Loading…
Reference in New Issue