Changeset 124 for trunk/grails-app/views/assetExtendedAttributeDetailed
- Timestamp:
- May 4, 2009, 1:59:11 PM (16 years ago)
- Location:
- trunk/grails-app/views/assetExtendedAttributeDetailed
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetExtendedAttributeDetailed/create.gsp
r122 r124 38 38 <tr class="prop"> 39 39 <td valign="top" class="name"> 40 <label for="asset Type">Asset Type:</label>40 <label for="asset">Asset:</label> 41 41 </td> 42 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset Type','errors')}">43 <g:select optionKey="id" from="${Asset Type.list()}" name="assetType.id" value="${assetExtendedAttributeInstance?.assetType?.id}" ></g:select>42 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 43 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 44 44 </td> 45 45 </tr> -
trunk/grails-app/views/assetExtendedAttributeDetailed/edit.gsp
r122 r124 41 41 <tr class="prop"> 42 42 <td valign="top" class="name"> 43 <label for="asset Type">Asset Type:</label>43 <label for="asset">Asset:</label> 44 44 </td> 45 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset Type','errors')}">46 <g:select optionKey="id" from="${Asset Type.list()}" name="assetType.id" value="${assetExtendedAttributeInstance?.assetType?.id}" ></g:select>45 <td valign="top" class="value ${hasErrors(bean:assetExtendedAttributeInstance,field:'asset','errors')}"> 46 <g:select optionKey="id" from="${Asset.list()}" name="asset.id" value="${assetExtendedAttributeInstance?.asset?.id}" ></g:select> 47 47 </td> 48 48 </tr> -
trunk/grails-app/views/assetExtendedAttributeDetailed/list.gsp
r122 r124 26 26 <th>Asset Extended Attribute Type</th> 27 27 28 <th>Asset Type</th>28 <th>Asset</th> 29 29 30 30 <g:sortableColumn property="isActive" title="Is Active" /> 31 31 32 32 <g:sortableColumn property="value" title="Value" /> 33 34 <th></th> 33 35 34 36 </tr> … … 36 38 <tbody> 37 39 <g:each in="${assetExtendedAttributeInstanceList}" status="i" var="assetExtendedAttributeInstance"> 38 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 40 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/assetExtendedAttributeDetailed/show/${assetExtendedAttributeInstance.id}"'/> 41 39 42 40 43 <td><g:link action="show" id="${assetExtendedAttributeInstance.id}">${fieldValue(bean:assetExtendedAttributeInstance, field:'id')}</g:link></td> … … 42 45 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'assetExtendedAttributeType')}</td> 43 46 44 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset Type')}</td>47 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'asset')}</td> 45 48 46 49 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'isActive')}</td> 47 50 48 51 <td>${fieldValue(bean:assetExtendedAttributeInstance, field:'value')}</td> 52 53 <td> 54 <g:link action="show" id="${assetExtendedAttributeInstance.id}"> 55 <img src="${createLinkTo(dir:'images/skin',file:'database_table.png')}" alt="Show" /> 56 </g:link> 57 </td> 49 58 50 59 </tr> -
trunk/grails-app/views/assetExtendedAttributeDetailed/show.gsp
r122 r124 33 33 <td valign="top" class="name">Asset Extended Attribute Type:</td> 34 34 35 <td valign="top" class="value"> <g:link controller="assetExtendedAttributeType" action="show" id="${assetExtendedAttributeInstance?.assetExtendedAttributeType?.id}">${assetExtendedAttributeInstance?.assetExtendedAttributeType?.encodeAsHTML()}</g:link></td>35 <td valign="top" class="value">${assetExtendedAttributeInstance?.assetExtendedAttributeType?.encodeAsHTML()}</td> 36 36 37 37 </tr> 38 38 39 39 <tr class="prop"> 40 <td valign="top" class="name">Asset Type:</td>40 <td valign="top" class="name">Asset:</td> 41 41 42 <td valign="top" class="value"><g:link controller="asset Type" action="show" id="${assetExtendedAttributeInstance?.assetType?.id}">${assetExtendedAttributeInstance?.assetType?.encodeAsHTML()}</g:link></td>42 <td valign="top" class="value"><g:link controller="assetDetailed" action="show" id="${assetExtendedAttributeInstance?.asset?.id}">${assetExtendedAttributeInstance?.asset?.encodeAsHTML()}</g:link></td> 43 43 44 44 </tr>
Note: See TracChangeset
for help on using the changeset viewer.