Revision 5d0ffbbc src/gr/ebs/gss/client/StatusPanel.java
b/src/gr/ebs/gss/client/StatusPanel.java | ||
---|---|---|
45 | 45 |
private HTML quotaIcon = new HTML(""); |
46 | 46 |
private HTML quotaLabel = new HTML(""); |
47 | 47 |
private HTML lastLoginLabel = new HTML(""); |
48 |
private HTML currentLoginLabel = new HTML(""); |
|
48 | 49 |
private HTML currentlyShowingLabel = new HTML(""); |
49 | 50 |
|
50 | 51 |
/** |
... | ... | |
68 | 69 |
ImageResource yellowSize(); |
69 | 70 |
|
70 | 71 |
@Source("gr/ebs/gss/resources/xclock.png") |
71 |
ImageResource lastLogin(); |
|
72 |
ImageResource lastLogin();
|
|
72 | 73 |
} |
73 | 74 |
|
74 | 75 |
private final Images images; |
... | ... | |
104 | 105 |
middle.add(AbstractImagePrototype.create(images.lastLogin()).createImage()); |
105 | 106 |
middle.add(new HTML("<b>Last login:</b> ")); |
106 | 107 |
middle.add(lastLoginLabel); |
108 |
middle.add(new HTML("<b> - Current session login:</b> ")); |
|
109 |
middle.add(currentLoginLabel); |
|
107 | 110 |
right.add(currentlyShowingLabel); |
108 | 111 |
outer.setStyleName("statusbar-inner"); |
109 | 112 |
left.setStyleName("statusbar-inner"); |
... | ... | |
150 | 153 |
} |
151 | 154 |
final DateTimeFormat formatter = DateTimeFormat.getFormat("d/M/yyyy h:mm a"); |
152 | 155 |
lastLoginLabel.setHTML(formatter.format(user.getLastLogin())); |
156 |
currentLoginLabel.setHTML(formatter.format(user.getCurrentLogin())); |
|
153 | 157 |
} |
154 | 158 |
|
155 | 159 |
/** |
Also available in: Unified diff