Changeset 412 for trunk/grails-app
- Timestamp:
- Feb 24, 2010, 2:22:35 PM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/Config.groovy
r395 r412 288 288 [order:91, controller:'extendedAttributeTypeDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] 289 289 ] 290 ], 291 [order:150, controller:'departmentDetailed', title:'department', action:'list', 292 subItems: [ 293 [order:10, controller:'departmentDetailed', title:'Department List', action:'list', isVisible: { true }], 294 [order:20, controller:'departmentDetailed', title:'Create', action:'create', isVisible: { true }], 295 [order:90, controller:'departmentDetailed', title:'Show', action:'show', isVisible: { params.action == 'show' }], 296 [order:91, controller:'departmentDetailed', title:'Edit', action:'edit', isVisible: { params.action == 'edit' }] 297 ] 290 298 ] 291 299 ] -
trunk/grails-app/views/departmentDetailed/create.gsp
r333 r412 6 6 <meta name="layout" content="main" /> 7 7 <title>Create Department</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="list" action="list">Department List</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Create Department</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 15 <g:render template="/shared/messages" /> 18 16 <g:hasErrors bean="${departmentInstance}"> 19 17 <div class="errors"> -
trunk/grails-app/views/departmentDetailed/edit.gsp
r410 r412 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit Department</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">Department List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New Department</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Edit Department</h1> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 15 <g:render template="/shared/messages" /> 19 16 <g:hasErrors bean="${departmentInstance}"> 20 17 <div class="errors"> … … 118 115 <div class="buttons"> 119 116 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 117 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span> 120 118 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 121 119 </div> -
trunk/grails-app/views/departmentDetailed/list.gsp
r339 r412 6 6 <meta name="layout" content="main" /> 7 7 <title>Department List</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 < span class="menuButton"><g:link class="create" action="create">New Department</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Department List</h1> 15 <g:if test="${flash.message}"> 16 <div class="message">${flash.message}</div> 17 </g:if> 15 <g:render template="/shared/messages" /> 18 16 <div class="list"> 19 17 <table> -
trunk/grails-app/views/departmentDetailed/show.gsp
r333 r412 6 6 <meta name="layout" content="main" /> 7 7 <title>Show Department</title> 8 <nav:resources override="true"/> 8 9 </head> 9 10 <body> 10 11 <div class="nav"> 11 <span class="menuButton"><g:link class="list" action="list">Department List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New Department</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Show Department</h1> 16 <g:if test="${flash.message}"> 17 <div class="message">${flash.message}</div> 18 </g:if> 15 <g:render template="/shared/messages" /> 19 16 <div class="dialog"> 20 17 <table>
Note: See TracChangeset
for help on using the changeset viewer.