modified so that it is possible to select which tab to show in the different gateways
git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/join-vre@158353 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ba443037e9
commit
93e4a61ebe
|
@ -170,8 +170,7 @@ public class JoinServiceImpl extends RemoteServiceServlet implements JoinService
|
||||||
private List<String> getTabNames() throws Exception {
|
private List<String> getTabNames() throws Exception {
|
||||||
List<String> toReturn = new ArrayList<String>();
|
List<String> toReturn = new ArrayList<String>();
|
||||||
long currentSiteGroupId = getSiteFromServletRequest(getThreadLocalRequest()).getGroupId();
|
long currentSiteGroupId = getSiteFromServletRequest(getThreadLocalRequest()).getGroupId();
|
||||||
Group site = GroupLocalServiceUtil.getGroup(currentSiteGroupId);
|
String[] values = (String[]) groupsManager.readCustomAttr(currentSiteGroupId, TAB_NAMES_ATTRIBUTE);
|
||||||
String[] values = (String[]) site.getExpandoBridge().getAttributeDefault(TAB_NAMES_ATTRIBUTE);
|
|
||||||
for (int i = 0; i < values.length; i++) {
|
for (int i = 0; i < values.length; i++) {
|
||||||
toReturn.add(values[i]);
|
toReturn.add(values[i]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,16 @@ body {
|
||||||
border: 5px solid white;
|
border: 5px solid white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.page-header > h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
line-height: 25px;
|
||||||
|
color: #555;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.page-header > h1 small{
|
||||||
|
font-size: 17px;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-tabs .dropdown-toggle .caret {
|
.nav-tabs .dropdown-toggle .caret {
|
||||||
border-top: 8px solid black !important;
|
border-top: 8px solid black !important;
|
||||||
border-right: 8px solid transparent !important;;
|
border-right: 8px solid transparent !important;;
|
||||||
|
|
Loading…
Reference in New Issue