Ignore:
Timestamp:
Apr 4, 2011, 1:00:26 PM (10 years ago)
Author:
robert@…
Message:

Modules menu can be switched on or off in configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/common/_topnav.gsp

    r1690 r1693  
    11    <%@ page import="org.dbnp.gdt.AssayModule" %>
     2    <%@ page import="org.codehaus.groovy.grails.commons.ConfigurationHolder" %>
    23    <!-- TOPNAV //-->
    34    <ul class="topnav">
     
    5152        </li>
    5253        <li><g:link controller="advancedQuery">Search</g:link></li>
    53         <g:if test="${AssayModule.count()}">
     54        <g:if test="${ConfigurationHolder.config.modules.showInMenu && AssayModule.count()}">
    5455                <li>
    5556                        <a href="#">Modules</a>
Note: See TracChangeset for help on using the changeset viewer.