Changeset 273


Ignore:
Timestamp:
Jan 15, 2010, 1:18:09 PM (14 years ago)
Author:
gav
Message:

Correct site-inventoryStores relationship and generate-all.
Copy section views over sectionDetailed.

Location:
trunk/grails-app
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/domain/Site.groovy

    r268 r273  
    55    Boolean isActive = true
    66
    7 //     static hasMany = [inventoryStores: InventoryStore, systemSections: SystemSection]
    87    static hasMany = [sections: Section,
    9                                 siteExtendedAttributes: SiteExtendedAttribute]
     8                                siteExtendedAttributes: SiteExtendedAttribute,
     9                                inventoryStores: InventoryStore]
    1010
    1111//     static belongsTo = []
  • trunk/grails-app/views/sectionDetailed/create.gsp

    r178 r273  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Create SystemSection</title>         
     7        <title>Create Section</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="list" action="list">SystemSection List</g:link></span>
     11            <span class="menuButton"><g:link class="list" action="list">Section List</g:link></span>
    1212        </div>
    1313        <div class="body">
    14             <h1>Create SystemSection</h1>
     14            <h1>Create Section</h1>
    1515            <g:if test="${flash.message}">
    1616            <div class="message">${flash.message}</div>
    1717            </g:if>
    18             <g:hasErrors bean="${systemSectionInstance}">
     18            <g:hasErrors bean="${sectionInstance}">
    1919            <div class="errors">
    20                 <g:renderErrors bean="${systemSectionInstance}" as="list" />
     20                <g:renderErrors bean="${sectionInstance}" as="list" />
    2121            </div>
    2222            </g:hasErrors>
     
    3030                                    <label for="name">Name:</label>
    3131                                </td>
    32                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'name','errors')}">
    33                                     <input type="text" id="name" name="name" value="${fieldValue(bean:systemSectionInstance,field:'name')}"/>
     32                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'name','errors')}">
     33                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:sectionInstance,field:'name')}"/>
    3434                                </td>
    35                             </tr>
     35                            </tr> 
    3636                       
    3737                            <tr class="prop">
     
    3939                                    <label for="description">Description:</label>
    4040                                </td>
    41                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'description','errors')}">
    42                                     <input type="text" id="description" name="description" value="${fieldValue(bean:systemSectionInstance,field:'description')}"/>
     41                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'description','errors')}">
     42                                    <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:sectionInstance,field:'description')}"/>
    4343                                </td>
    44                             </tr>
     44                            </tr> 
    4545                       
    4646                            <tr class="prop">
    4747                                <td valign="top" class="name">
    48                                     <label for="costCode">Cost Code:</label>
     48                                    <label for="isActive">Is Active:</label>
    4949                                </td>
    50                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'costCode','errors')}">
    51                                     <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:systemSectionInstance,field:'costCode')}"/>
     50                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'isActive','errors')}">
     51                                    <g:checkBox name="isActive" value="${sectionInstance?.isActive}" ></g:checkBox>
    5252                                </td>
    5353                            </tr>
     
    5757                                    <label for="department">Department:</label>
    5858                                </td>
    59                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'department','errors')}">
    60                                     <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${systemSectionInstance?.department?.id}" ></g:select>
     59                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'department','errors')}">
     60                                    <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${sectionInstance?.department?.id}" ></g:select>
    6161                                </td>
    6262                            </tr>
     
    6666                                    <label for="site">Site:</label>
    6767                                </td>
    68                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'site','errors')}">
    69                                     <g:select optionKey="id" from="${Site.list()}" name="site.id" value="${systemSectionInstance?.site?.id}" ></g:select>
     68                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'site','errors')}">
     69                                    <g:select optionKey="id" from="${Site.list()}" name="site.id" value="${sectionInstance?.site?.id}" ></g:select>
    7070                                </td>
    7171                            </tr>
    72                        
    73                             <tr class="prop">
    74                                 <td valign="top" class="name">
    75                                     <label for="isActive">Is Active:</label>
    76                                 </td>
    77                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'isActive','errors')}">
    78                                     <g:checkBox name="isActive" value="${systemSectionInstance?.isActive}" ></g:checkBox>
    79                                 </td>
    80                             </tr>
    8172                       
    8273                        </tbody>
  • trunk/grails-app/views/sectionDetailed/edit.gsp

    r178 r273  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Edit SystemSection</title>
     7        <title>Edit Section</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="list" action="list">SystemSection List</g:link></span>
    12             <span class="menuButton"><g:link class="create" action="create">New SystemSection</g:link></span>
     11            <span class="menuButton"><g:link class="list" action="list">Section List</g:link></span>
     12            <span class="menuButton"><g:link class="create" action="create">New Section</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>Edit SystemSection</h1>
     15            <h1>Edit Section</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
    1818            </g:if>
    19             <g:hasErrors bean="${systemSectionInstance}">
     19            <g:hasErrors bean="${sectionInstance}">
    2020            <div class="errors">
    21                 <g:renderErrors bean="${systemSectionInstance}" as="list" />
     21                <g:renderErrors bean="${sectionInstance}" as="list" />
    2222            </div>
    2323            </g:hasErrors>
    2424            <g:form method="post" >
    25                 <input type="hidden" name="id" value="${systemSectionInstance?.id}" />
    26                 <input type="hidden" name="version" value="${systemSectionInstance?.version}" />
     25                <input type="hidden" name="id" value="${sectionInstance?.id}" />
     26                <input type="hidden" name="version" value="${sectionInstance?.version}" />
    2727                <div class="dialog">
    2828                    <table>
     
    3333                                    <label for="name">Name:</label>
    3434                                </td>
    35                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'name','errors')}">
    36                                     <input type="text" id="name" name="name" value="${fieldValue(bean:systemSectionInstance,field:'name')}"/>
     35                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'name','errors')}">
     36                                    <input type="text" maxlength="50" id="name" name="name" value="${fieldValue(bean:sectionInstance,field:'name')}"/>
    3737                                </td>
    38                             </tr>
     38                            </tr> 
    3939                       
    4040                            <tr class="prop">
     
    4242                                    <label for="description">Description:</label>
    4343                                </td>
    44                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'description','errors')}">
    45                                     <input type="text" id="description" name="description" value="${fieldValue(bean:systemSectionInstance,field:'description')}"/>
     44                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'description','errors')}">
     45                                    <input type="text" maxlength="100" id="description" name="description" value="${fieldValue(bean:sectionInstance,field:'description')}"/>
    4646                                </td>
    47                             </tr>
     47                            </tr> 
    4848                       
    4949                            <tr class="prop">
    5050                                <td valign="top" class="name">
    51                                     <label for="costCode">Cost Code:</label>
     51                                    <label for="isActive">Is Active:</label>
    5252                                </td>
    53                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'costCode','errors')}">
    54                                     <input type="text" id="costCode" name="costCode" value="${fieldValue(bean:systemSectionInstance,field:'costCode')}"/>
     53                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'isActive','errors')}">
     54                                    <g:checkBox name="isActive" value="${sectionInstance?.isActive}" ></g:checkBox>
    5555                                </td>
    56                             </tr>
     56                            </tr>
     57                       
     58                            <tr class="prop">
     59                                <td valign="top" class="name">
     60                                    <label for="assets">Assets:</label>
     61                                </td>
     62                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'assets','errors')}">
     63                                   
     64<ul>
     65<g:each var="a" in="${sectionInstance?.assets?}">
     66    <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     67</g:each>
     68</ul>
     69<g:link controller="asset" params="['section.id':sectionInstance?.id]" action="create">Add Asset</g:link>
     70
     71                                </td>
     72                            </tr>
    5773                       
    5874                            <tr class="prop">
     
    6076                                    <label for="department">Department:</label>
    6177                                </td>
    62                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'department','errors')}">
    63                                     <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${systemSectionInstance?.department?.id}" ></g:select>
     78                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'department','errors')}">
     79                                    <g:select optionKey="id" from="${Department.list()}" name="department.id" value="${sectionInstance?.department?.id}" ></g:select>
     80                                </td>
     81                            </tr>
     82                       
     83                            <tr class="prop">
     84                                <td valign="top" class="name">
     85                                    <label for="maintenanceActions">Maintenance Actions:</label>
     86                                </td>
     87                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'maintenanceActions','errors')}">
     88                                   
     89<ul>
     90<g:each var="m" in="${sectionInstance?.maintenanceActions?}">
     91    <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     92</g:each>
     93</ul>
     94<g:link controller="maintenanceAction" params="['section.id':sectionInstance?.id]" action="create">Add MaintenanceAction</g:link>
     95
     96                                </td>
     97                            </tr>
     98                       
     99                            <tr class="prop">
     100                                <td valign="top" class="name">
     101                                    <label for="sectionExtendedAttributes">Section Extended Attributes:</label>
     102                                </td>
     103                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'sectionExtendedAttributes','errors')}">
     104                                   
     105<ul>
     106<g:each var="s" in="${sectionInstance?.sectionExtendedAttributes?}">
     107    <li><g:link controller="sectionExtendedAttribute" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
     108</g:each>
     109</ul>
     110<g:link controller="sectionExtendedAttribute" params="['section.id':sectionInstance?.id]" action="create">Add SectionExtendedAttribute</g:link>
     111
    64112                                </td>
    65113                            </tr>
     
    69117                                    <label for="site">Site:</label>
    70118                                </td>
    71                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'site','errors')}">
    72                                     <g:select optionKey="id" from="${Site.list()}" name="site.id" value="${systemSectionInstance?.site?.id}" ></g:select>
    73                                 </td>
    74                             </tr>
    75                        
    76                             <tr class="prop">
    77                                 <td valign="top" class="name">
    78                                     <label for="isActive">Is Active:</label>
    79                                 </td>
    80                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'isActive','errors')}">
    81                                     <g:checkBox name="isActive" value="${systemSectionInstance?.isActive}" ></g:checkBox>
    82                                 </td>
    83                             </tr>
    84                        
    85                             <tr class="prop">
    86                                 <td valign="top" class="name">
    87                                     <label for="assets">Assets:</label>
    88                                 </td>
    89                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'assets','errors')}">
    90                                    
    91 <ul>
    92 <g:each var="a" in="${systemSectionInstance?.assets?}">
    93     <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    94 </g:each>
    95 </ul>
    96 <g:link controller="assetDetailed" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add Asset</g:link>
    97 
    98                                 </td>
    99                             </tr>
    100                        
    101                             <tr class="prop">
    102                                 <td valign="top" class="name">
    103                                     <label for="maintenanceActions">Maintenance Actions:</label>
    104                                 </td>
    105                                 <td valign="top" class="value ${hasErrors(bean:systemSectionInstance,field:'maintenanceActions','errors')}">
    106                                    
    107 <ul>
    108 <g:each var="m" in="${systemSectionInstance?.maintenanceActions?}">
    109     <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    110 </g:each>
    111 </ul>
    112 <g:link controller="maintenanceActionDetailed" params="['systemSection.id':systemSectionInstance?.id]" action="create">Add MaintenanceAction</g:link>
    113 
     119                                <td valign="top" class="value ${hasErrors(bean:sectionInstance,field:'site','errors')}">
     120                                    <g:select optionKey="id" from="${Site.list()}" name="site.id" value="${sectionInstance?.site?.id}" ></g:select>
    114121                                </td>
    115122                            </tr>
  • trunk/grails-app/views/sectionDetailed/list.gsp

    r178 r273  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>SystemSection List</title>
     7        <title>Section List</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="create" action="create">New SystemSection</g:link></span>
     11            <span class="menuButton"><g:link class="create" action="create">New Section</g:link></span>
    1212        </div>
    1313        <div class="body">
    14             <h1>SystemSection List</h1>
     14            <h1>Section List</h1>
    1515            <g:if test="${flash.message}">
    1616            <div class="message">${flash.message}</div>
     
    2323                                <g:sortableColumn property="id" title="Id" />
    2424                       
     25                                <g:sortableColumn property="name" title="Name" />
     26                       
    2527                                <g:sortableColumn property="description" title="Description" />
    2628                       
    2729                                <g:sortableColumn property="isActive" title="Is Active" />
    2830                       
    29                                 <g:sortableColumn property="name" title="Name" />
    30                        
     31                                <th>Department</th>
     32                           
    3133                                <th>Site</th>
    3234                           
     
    3436                    </thead>
    3537                    <tbody>
    36                     <g:each in="${systemSectionInstanceList}" status="i" var="systemSectionInstance">
     38                    <g:each in="${sectionInstanceList}" status="i" var="sectionInstance">
    3739                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    3840                       
    39                             <td><g:link action="show" id="${systemSectionInstance.id}">${fieldValue(bean:systemSectionInstance, field:'id')}</g:link></td>
     41                            <td><g:link action="show" id="${sectionInstance.id}">${fieldValue(bean:sectionInstance, field:'id')}</g:link></td>
    4042                       
    41                             <td>${fieldValue(bean:systemSectionInstance, field:'description')}</td>
     43                            <td>${fieldValue(bean:sectionInstance, field:'name')}</td>
    4244                       
    43                             <td>${fieldValue(bean:systemSectionInstance, field:'isActive')}</td>
     45                            <td>${fieldValue(bean:sectionInstance, field:'description')}</td>
    4446                       
    45                             <td>${fieldValue(bean:systemSectionInstance, field:'name')}</td>
     47                            <td>${fieldValue(bean:sectionInstance, field:'isActive')}</td>
    4648                       
    47                             <td>${fieldValue(bean:systemSectionInstance, field:'site')}</td>
     49                            <td>${fieldValue(bean:sectionInstance, field:'department')}</td>
     50                       
     51                            <td>${fieldValue(bean:sectionInstance, field:'site')}</td>
    4852                       
    4953                        </tr>
     
    5357            </div>
    5458            <div class="paginateButtons">
    55                 <g:paginate total="${systemSectionInstanceTotal}" />
     59                <g:paginate total="${sectionInstanceTotal}" />
    5660            </div>
    5761        </div>
  • trunk/grails-app/views/sectionDetailed/show.gsp

    r178 r273  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Show SystemSection</title>
     7        <title>Show Section</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="list" action="list">SystemSection List</g:link></span>
    12             <span class="menuButton"><g:link class="create" action="create">New SystemSection</g:link></span>
     11            <span class="menuButton"><g:link class="list" action="list">Section List</g:link></span>
     12            <span class="menuButton"><g:link class="create" action="create">New Section</g:link></span>
    1313        </div>
    1414        <div class="body">
    15             <h1>Show SystemSection</h1>
     15            <h1>Show Section</h1>
    1616            <g:if test="${flash.message}">
    1717            <div class="message">${flash.message}</div>
     
    2525                            <td valign="top" class="name">Id:</td>
    2626                           
    27                             <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'id')}</td>
     27                            <td valign="top" class="value">${fieldValue(bean:sectionInstance, field:'id')}</td>
    2828                           
    2929                        </tr>
     
    3232                            <td valign="top" class="name">Name:</td>
    3333                           
    34                             <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'name')}</td>
     34                            <td valign="top" class="value">${fieldValue(bean:sectionInstance, field:'name')}</td>
    3535                           
    3636                        </tr>
     
    3939                            <td valign="top" class="name">Description:</td>
    4040                           
    41                             <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'description')}</td>
    42                            
    43                         </tr>
    44                    
    45                         <tr class="prop">
    46                             <td valign="top" class="name">Cost Code:</td>
    47                            
    48                             <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'costCode')}</td>
    49                            
    50                         </tr>
    51                    
    52                         <tr class="prop">
    53                             <td valign="top" class="name">Department:</td>
    54                            
    55                             <td valign="top" class="value"><g:link controller="department" action="show" id="${systemSectionInstance?.department?.id}">${systemSectionInstance?.department?.encodeAsHTML()}</g:link></td>
    56                            
    57                         </tr>
    58                    
    59                         <tr class="prop">
    60                             <td valign="top" class="name">Site:</td>
    61                            
    62                             <td valign="top" class="value"><g:link controller="site" action="show" id="${systemSectionInstance?.site?.id}">${systemSectionInstance?.site?.encodeAsHTML()}</g:link></td>
     41                            <td valign="top" class="value">${fieldValue(bean:sectionInstance, field:'description')}</td>
    6342                           
    6443                        </tr>
     
    6746                            <td valign="top" class="name">Is Active:</td>
    6847                           
    69                             <td valign="top" class="value">${fieldValue(bean:systemSectionInstance, field:'isActive')}</td>
     48                            <td valign="top" class="value">${fieldValue(bean:sectionInstance, field:'isActive')}</td>
    7049                           
    7150                        </tr>
     
    7655                            <td  valign="top" style="text-align:left;" class="value">
    7756                                <ul>
    78                                 <g:each var="a" in="${systemSectionInstance.assets}">
    79                                     <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     57                                <g:each var="a" in="${sectionInstance.assets}">
     58                                    <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    8059                                </g:each>
    8160                                </ul>
    8261                            </td>
     62                           
     63                        </tr>
     64                   
     65                        <tr class="prop">
     66                            <td valign="top" class="name">Department:</td>
     67                           
     68                            <td valign="top" class="value"><g:link controller="department" action="show" id="${sectionInstance?.department?.id}">${sectionInstance?.department?.encodeAsHTML()}</g:link></td>
    8369                           
    8470                        </tr>
     
    8975                            <td  valign="top" style="text-align:left;" class="value">
    9076                                <ul>
    91                                 <g:each var="m" in="${systemSectionInstance.maintenanceActions}">
    92                                     <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     77                                <g:each var="m" in="${sectionInstance.maintenanceActions}">
     78                                    <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    9379                                </g:each>
    9480                                </ul>
    9581                            </td>
     82                           
     83                        </tr>
     84                   
     85                        <tr class="prop">
     86                            <td valign="top" class="name">Section Extended Attributes:</td>
     87                           
     88                            <td  valign="top" style="text-align:left;" class="value">
     89                                <ul>
     90                                <g:each var="s" in="${sectionInstance.sectionExtendedAttributes}">
     91                                    <li><g:link controller="sectionExtendedAttribute" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
     92                                </g:each>
     93                                </ul>
     94                            </td>
     95                           
     96                        </tr>
     97                   
     98                        <tr class="prop">
     99                            <td valign="top" class="name">Site:</td>
     100                           
     101                            <td valign="top" class="value"><g:link controller="site" action="show" id="${sectionInstance?.site?.id}">${sectionInstance?.site?.encodeAsHTML()}</g:link></td>
    96102                           
    97103                        </tr>
     
    102108            <div class="buttons">
    103109                <g:form>
    104                     <input type="hidden" name="id" value="${systemSectionInstance?.id}" />
     110                    <input type="hidden" name="id" value="${sectionInstance?.id}" />
    105111                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    106112                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
  • trunk/grails-app/views/site/edit.gsp

    r268 r273  
    5858                            <tr class="prop">
    5959                                <td valign="top" class="name">
     60                                    <label for="inventoryStores">Inventory Stores:</label>
     61                                </td>
     62                                <td valign="top" class="value ${hasErrors(bean:siteInstance,field:'inventoryStores','errors')}">
     63                                   
     64<ul>
     65<g:each var="i" in="${siteInstance?.inventoryStores?}">
     66    <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     67</g:each>
     68</ul>
     69<g:link controller="inventoryStore" params="['site.id':siteInstance?.id]" action="create">Add InventoryStore</g:link>
     70
     71                                </td>
     72                            </tr>
     73                       
     74                            <tr class="prop">
     75                                <td valign="top" class="name">
    6076                                    <label for="sections">Sections:</label>
    6177                                </td>
  • trunk/grails-app/views/site/show.gsp

    r268 r273  
    5151                   
    5252                        <tr class="prop">
     53                            <td valign="top" class="name">Inventory Stores:</td>
     54                           
     55                            <td  valign="top" style="text-align:left;" class="value">
     56                                <ul>
     57                                <g:each var="i" in="${siteInstance.inventoryStores}">
     58                                    <li><g:link controller="inventoryStore" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li>
     59                                </g:each>
     60                                </ul>
     61                            </td>
     62                           
     63                        </tr>
     64                   
     65                        <tr class="prop">
    5366                            <td valign="top" class="name">Sections:</td>
    5467                           
Note: See TracChangeset for help on using the changeset viewer.