private HTML quotaIcon = new HTML("");
private HTML quotaLabel = new HTML("");
private HTML lastLoginLabel = new HTML("");
+ private HTML currentLoginLabel = new HTML("");
private HTML currentlyShowingLabel = new HTML("");
/**
ImageResource yellowSize();
@Source("gr/ebs/gss/resources/xclock.png")
- ImageResource lastLogin();
+ ImageResource lastLogin();
}
private final Images images;
middle.add(AbstractImagePrototype.create(images.lastLogin()).createImage());
middle.add(new HTML("<b>Last login:</b> "));
middle.add(lastLoginLabel);
+ middle.add(new HTML("<b>\u0387 Current session login:</b> "));
+ middle.add(currentLoginLabel);
right.add(currentlyShowingLabel);
outer.setStyleName("statusbar-inner");
left.setStyleName("statusbar-inner");
public boolean execute() {
GSS app = GSS.get();
UserResource user = app.getCurrentUserResource();
- if (user == null || app.getFolders().getRootItem() == null)
+ if (user == null || app.getTreeView().getMyFolders() == null)
return !DONE;
displayStats(user);
return DONE;
}
final DateTimeFormat formatter = DateTimeFormat.getFormat("d/M/yyyy h:mm a");
lastLoginLabel.setHTML(formatter.format(user.getLastLogin()));
+ currentLoginLabel.setHTML(formatter.format(user.getCurrentLogin()));
}
/**