Changeset 471 for trunk/grails-app/views/personGroupTypeDetailed
- Timestamp:
- Mar 31, 2010, 12:32:04 PM (15 years ago)
- Location:
- trunk/grails-app/views/personGroupTypeDetailed
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/personGroupTypeDetailed/create.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Create PersonGroupType</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">PersonGroupType List</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>Create PersonGroupType</h1>15 15 <g:if test="${flash.message}"> 16 16 <div class="message">${flash.message}</div> -
trunk/grails-app/views/personGroupTypeDetailed/edit.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Edit PersonGroupType</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">PersonGroupType List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New PersonGroupType</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Edit PersonGroupType</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> … … 64 63 <ul> 65 64 <g:each var="p" in="${personGroupTypeInstance?.personGroups?}"> 66 <li><g:link controller="personGroup " action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li>65 <li><g:link controller="personGroupDetailed" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li> 67 66 </g:each> 68 67 </ul> 69 <g:link controller="personGroup " params="['personGroupType.id':personGroupTypeInstance?.id]" action="create">Add PersonGroup</g:link>68 <g:link controller="personGroupDetailed" params="['personGroupType.id':personGroupTypeInstance?.id]" action="create">+Add PersonGroup</g:link> 70 69 71 70 </td> … … 77 76 <div class="buttons"> 78 77 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 78 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span> 79 79 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 80 80 </div> -
trunk/grails-app/views/personGroupTypeDetailed/list.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>PersonGroupType 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 PersonGroupType</g:link></span>12 <nav:renderSubItems group="navAlt"/> 12 13 </div> 13 14 <div class="body"> 14 <h1>PersonGroupType List</h1>15 15 <g:if test="${flash.message}"> 16 16 <div class="message">${flash.message}</div> … … 28 28 29 29 <g:sortableColumn property="isActive" title="Is Active" /> 30 31 <th></th> 30 32 31 33 </tr> … … 33 35 <tbody> 34 36 <g:each in="${personGroupTypeInstanceList}" status="i" var="personGroupTypeInstance"> 35 <tr class="${(i % 2) == 0 ? ' odd' : 'even'}">37 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/personGroupTypeDetailed/show/${personGroupTypeInstance.id}"'/> 36 38 37 <td> <g:link action="show" id="${personGroupTypeInstance.id}">${fieldValue(bean:personGroupTypeInstance, field:'id')}</g:link></td>39 <td>${fieldValue(bean:personGroupTypeInstance, field:'id')}</td> 38 40 39 41 <td>${fieldValue(bean:personGroupTypeInstance, field:'name')}</td> … … 42 44 43 45 <td>${fieldValue(bean:personGroupTypeInstance, field:'isActive')}</td> 46 47 <td> 48 <g:link action="show" id="${personGroupTypeInstance.id}"> 49 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> 50 </g:link> 51 </td> 44 52 45 53 </tr> -
trunk/grails-app/views/personGroupTypeDetailed/show.gsp
r178 r471 6 6 <meta name="layout" content="main" /> 7 7 <title>Show PersonGroupType</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">PersonGroupType List</g:link></span> 12 <span class="menuButton"><g:link class="create" action="create">New PersonGroupType</g:link></span> 12 <nav:renderSubItems group="navAlt"/> 13 13 </div> 14 14 <div class="body"> 15 <h1>Show PersonGroupType</h1>16 15 <g:if test="${flash.message}"> 17 16 <div class="message">${flash.message}</div> … … 56 55 <ul> 57 56 <g:each var="p" in="${personGroupTypeInstance.personGroups}"> 58 <li><g:link controller="personGroup " action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li>57 <li><g:link controller="personGroupDetailed" action="show" id="${p.id}">${p?.encodeAsHTML()}</g:link></li> 59 58 </g:each> 60 59 </ul>
Note: See TracChangeset
for help on using the changeset viewer.