/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
*/
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.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_CENTER);
HorizontalPanel firstLine = new HorizontalPanel();
firstLine.setSpacing(8);
-// firstLine.addStyleName("pithos-statusbar");
firstLine.add(new Anchor("About"));
firstLine.add(new HTML("|"));
firstLine.add(new Anchor("Help"));
inner.add(firstLine);
HorizontalPanel secondLine = new HorizontalPanel();
- secondLine.add(new HTML("<a class='grnet-sign' href='http://www.grnet.gr'>Copyright (C) 2011 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);
outer.addStyleName("pithos-statusbar");