Changeset 385 for trunk/grails-app/conf


Ignore:
Timestamp:
Feb 18, 2010, 5:10:12 AM (15 years ago)
Author:
gav
Message:

Add entries to alt menu for Site and Section views.

File:
1 edited

Legend:

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

    r383 r385  
    263263            [order:91, controller:'supplierTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
    264264        ]
     265    ],
     266    [order:110, controller:'siteDetailed', title:'site', action:'list',
     267        subItems: [
     268            [order:10, controller:'siteDetailed', title:'Site List', action:'list', isVisible: { true }],
     269            [order:20, controller:'siteDetailed', title:'Create', action:'create', isVisible: { true }],
     270            [order:90, controller:'siteDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     271            [order:91, controller:'siteDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     272        ]
     273    ],
     274    [order:110, controller:'sectionDetailed', title:'section', action:'list',
     275        subItems: [
     276            [order:10, controller:'sectionDetailed', title:'Section List', action:'list', isVisible: { true }],
     277            [order:20, controller:'sectionDetailed', title:'Create', action:'create', isVisible: { true }],
     278            [order:90, controller:'sectionDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }],
     279            [order:91, controller:'sectionDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }]
     280        ]
    265281    ]
    266282]
Note: See TracChangeset for help on using the changeset viewer.