*/
package gr.grnet.pithos.web.client;
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.i18n.client.Dictionary;
import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
* The constructor of the status panel.
*/
public StatusPanel() {
+ Dictionary otherProperties = Dictionary.getDictionary("otherProperties");
+
HorizontalPanel outer = new HorizontalPanel();
outer.setWidth("100%");
outer.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
inner.add(firstLine);
HorizontalPanel secondLine = new HorizontalPanel();
- secondLine.add(new HTML("Pithos Web Client v0.1 <a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011-2012 Greek Research and Technology Network</a>"));
+ secondLine.add(new HTML("Pithos Web Client v" + otherProperties.get("version") + " <a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011-2012 Greek Research and Technology Network</a>"));
secondLine.addStyleName("grnet-sign");
inner.add(secondLine);
outer.add(inner);