Commit 24b29b9b authored by Matija Obreza's avatar Matija Obreza
Browse files

C&E menu removed, content menus organized

parent c1d72510
......@@ -124,11 +124,10 @@ public class CreateContentListener extends RunAsAdminListener {
contentService.ensureMenuItem("about", "/content/about/about", "menu.about");
contentService.ensureMenuItem("about", "/content/about/contact", "menu.contact");
contentService.ensureMenuItem("about", "/content/about/what-is-genesys", "menu.what-is-genesys");
contentService.ensureMenuItem("about", "/content/about/who-uses-genesys", "menu.who-uses-genesys");
contentService.ensureMenuItem("about", "/content/about/how-to-use-genesys", "menu.how-to-use-genesys");
// contentService.ensureMenuItem("about", "/content/about/who-uses-genesys", "menu.who-uses-genesys");
// contentService.ensureMenuItem("about", "/content/about/how-to-use-genesys", "menu.how-to-use-genesys");
contentService.ensureMenuItem("about", "/content/about/history-of-genesys", "menu.history-of-genesys");
contentService.ensureMenuItem("about", "/content/about/about-genesys-data", "menu.about-genesys-data");
contentService.ensureMenuItem("about", "/content/about/genesys-newsletter", "menu.newsletter");
// contentService.ensureMenuItem("about", "/content/about/about-genesys-data", "menu.about-genesys-data");
contentService.ensureMenuItem("about", "/content/about/newsletter", "menu.newsletter");
}
}
......@@ -240,6 +240,18 @@ html[dir="rtl"] #header .nav .dropdown-menu .checkbox {
/* ---------------------------------------- Main Navigation ----------------------------------*/
.navbar.genesys-navbar {
#menubar-home {
display: none;
img {
height: 20px;
}
.site-wrapper.attached & {
display: inherit;
}
}
.nav.navbar-nav {
li.dropdown.open {
.dropdown-menu.about{
......@@ -2370,3 +2382,4 @@ table.terms-table td {
div[x-href] {
cursor: pointer;
}
......@@ -4,21 +4,21 @@
<div class="container">
<div class="navbar-collapse">
<ul class="nav navbar-nav">
<li class="notimportant"><a href="<c:url value="/welcome" />"><spring:message code="menu.home" /></a></li>
<li id="menubar-home" class="notimportant"><a href="<c:url value="/welcome" />" title="<spring:message code="menu.home" />"><img src="<c:url value="/html/images/genesys.png" />" /></a></li>
<li class="dropdown">
<a href="<c:url value="/content/about" />" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="menu.about" /></a>
<ul class="dropdown-menu about">
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.about" /></a></li>
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.what-is-genesys" /></a></li>
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.who-uses-genesys" /></a></li>
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.how-to-use-genesys" /></a></li>
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.history-of-genesys" /></a></li>
<li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.about-genesys-data" /></a></li>
<li><a href="<c:url value="/content/about/contact" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.contact" /></a></li>
<li><a href="<c:url value="/content/about/what-is-genesys" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.what-is-genesys" /></a></li>
<%-- <li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.who-uses-genesys" /></a></li> --%>
<%-- <li><a href="<c:url value="/content/about/about" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.how-to-use-genesys" /></a></li> --%>
<li><a href="<c:url value="/content/about/history-of-genesys" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.history-of-genesys" /></a></li>
<li><a href="<c:url value="/content/about/newsletter" />"><i class="fa fa-caret-right"></i> <spring:message code="menu.newsletter" /></a></li>
</ul>
</li>
<li><a href="<c:url value="/explore" />"><spring:message code="menu.browse" /></a></li>
<li><a href="<c:url value="/data/" />"><spring:message code="menu.datasets" /></a></li>
<%-- <li><a href="<c:url value="/data/" />"><spring:message code="menu.datasets" /></a></li> --%>
<%-- <li><a href="<c:url value="/descriptors/" />"><spring:message code="menu.descriptors" /></a></li> --%>
<li><a href="<c:url value="/geo/" />"><spring:message code="menu.countries" /></a></li>
<li><a href="<c:url value="/wiews/active" />"><spring:message code="menu.institutes" /></a></li>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment