X-Git-Url: https://code.grnet.gr/git/pithos-web-client/blobdiff_plain/a7b6e46409a6fc0a6defacbb8a7135e7aa640637..4f5f370692d42641906e364e1fd4fa2525e14816:/src/gr/grnet/pithos/web/client/StatusPanel.java diff --git a/src/gr/grnet/pithos/web/client/StatusPanel.java b/src/gr/grnet/pithos/web/client/StatusPanel.java index e186608..86d669c 100644 --- a/src/gr/grnet/pithos/web/client/StatusPanel.java +++ b/src/gr/grnet/pithos/web/client/StatusPanel.java @@ -1,5 +1,5 @@ /* - * 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 @@ -34,6 +34,8 @@ */ 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; @@ -50,6 +52,8 @@ public class StatusPanel extends Composite { * 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); @@ -58,7 +62,6 @@ public class StatusPanel extends Composite { 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")); @@ -71,7 +74,8 @@ public class StatusPanel extends Composite { inner.add(firstLine); HorizontalPanel secondLine = new HorizontalPanel(); - secondLine.add(new HTML("Copyright (C) 2011 Greek Research and Technology Network")); + secondLine.add(new HTML("Pithos Web Client v" + otherProperties.get("version") + " Copyright (C) 2011-2012 Greek Research and Technology Network")); + secondLine.addStyleName("grnet-sign"); inner.add(secondLine); outer.add(inner); outer.addStyleName("pithos-statusbar");