Changeset 367 for trunk/grails-app/conf


Ignore:
Timestamp:
Feb 17, 2010, 9:43:29 PM (15 years ago)
Author:
gav
Message:

Add entries to alt menu for MaintenancePolicyDetailed and AssetSubItemDetailed?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/conf/Config.groovy

    r358 r367  
    172172/**
    173173 * Navigation plugin alternate menu.
    174  * The alternate top level titles are not displayed anywhere.
     174 * The alternate menu top level titles are not displayed anywhere.
    175175 * Subitems i18n message bundles are not currently resolving with this plugin.
    176176 */
     
    184184        ]
    185185    ],
    186     [order:20, controller:'taskProcedureDetailed', title:'task', action:'list',
     186    [order:20, controller:'taskProcedureDetailed', title:'taskProcedure', action:'list',
    187187        subItems: [
    188188            [order:10, controller:'taskProcedureDetailed', title:'Task Procedure List', action:'list', isVisible: { true }],
     
    191191            [order:91, controller:'taskProcedureDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
    192192        ]
     193    ],
     194    [order:30, controller:'assetSubItemDetailed', title:'assetSubItem', action:'search',
     195        subItems: [
     196            [order:10, controller:'assetSubItemDetailed', title:'Sub Item Search', action:'search', isVisible: { true }],
     197            [order:20, controller:'assetSubItemDetailed', title:'Create', action:'create', isVisible: { true }],
     198            [order:90, controller:'assetSubItemDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     199            [order:91, controller:'assetSubItemDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     200        ]
     201    ],
     202    [order:40, controller:'maintenancePolicyDetailed', title:'maintenancePolicy', action:'list',
     203        subItems: [
     204            [order:10, controller:'maintenancePolicyDetailed', title:'Maintenance Policy List', action:'list', isVisible: { true }],
     205            [order:20, controller:'maintenancePolicyDetailed', title:'Create', action:'create', isVisible: { true }],
     206            [order:90, controller:'maintenancePolicyDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     207            [order:91, controller:'maintenancePolicyDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     208        ]
    193209    ]
    194210]
Note: See TracChangeset for help on using the changeset viewer.