Changeset 162 for trunk/grails-app/views/systemSectionDetailed/show.gsp
- Timestamp:
- Oct 22, 2009, 8:26:09 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/systemSectionDetailed/show.gsp
r151 r162 31 31 32 32 <tr class="prop"> 33 <td valign="top" class="name"> Assets:</td>33 <td valign="top" class="name">Name:</td> 34 34 35 <td valign="top" style="text-align:left;" class="value"> 36 <ul> 37 <g:each var="a" in="${systemSectionInstance.assets}"> 38 <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 39 </g:each> 40 </ul> 41 </td> 35 <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'name')}</td> 42 36 43 37 </tr> … … 51 45 52 46 <tr class="prop"> 47 <td valign="top" class="name">Cost Code:</td> 48 49 <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'costCode')}</td> 50 51 </tr> 52 53 <tr class="prop"> 54 <td valign="top" class="name">Department:</td> 55 56 <td valign="top" class="value"><g:link controller="department" action="show" id="${systemSectionInstance?.department?.id}">${systemSectionInstance?.department?.encodeAsHTML()}</g:link></td> 57 58 </tr> 59 60 <tr class="prop"> 61 <td valign="top" class="name">Site:</td> 62 63 <td valign="top" class="value"><g:link controller="site" action="show" id="${systemSectionInstance?.site?.id}">${systemSectionInstance?.site?.encodeAsHTML()}</g:link></td> 64 65 </tr> 66 67 <tr class="prop"> 53 68 <td valign="top" class="name">Is Active:</td> 54 69 55 70 <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'isActive')}</td> 71 72 </tr> 73 74 <tr class="prop"> 75 <td valign="top" class="name">Assets:</td> 76 77 <td valign="top" style="text-align:left;" class="value"> 78 <ul> 79 <g:each var="a" in="${systemSectionInstance.assets}"> 80 <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> 81 </g:each> 82 </ul> 83 </td> 56 84 57 85 </tr> … … 70 98 </tr> 71 99 72 <tr class="prop">73 <td valign="top" class="name">Name:</td>74 75 <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'name')}</td>76 77 </tr>78 79 <tr class="prop">80 <td valign="top" class="name">Site:</td>81 82 <td valign="top" class="value"><g:link controller="site" action="show" id="${systemSectionInstance?.site?.id}">${systemSectionInstance?.site?.encodeAsHTML()}</g:link></td>83 84 </tr>85 86 100 </tbody> 87 101 </table>
Note: See TracChangeset
for help on using the changeset viewer.