Vre name is no longer cut since with liferay 6.2 we have more space to show it

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/user-statistics@130450 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-07-18 08:40:58 +00:00
parent d5f385d9f5
commit b6f810cd1a
1 changed files with 0 additions and 3 deletions

View File

@ -200,9 +200,6 @@ public class StatisticsPanel extends Composite {
mainPanel.addStyleName("user-stats-frame-border");
String nameToShow = DISPLAY_NAME + " in " + information.getActualVre();
// cut it if it's too long
nameToShow = nameToShow.length() > 30 ?
nameToShow.substring(0, 27) + "..." : nameToShow;
final HTML name = new HTML(nameToShow);
name.setTitle(DISPLAY_NAME + " in " + information.getActualVre());
name.setStyleName("user-stats-title");