Ignore:
Timestamp:
Jan 22, 2010, 8:52:22 AM (14 years ago)
Author:
gav
Message:

Regenerate and svn move the following to detailed controllers and views: Department, ExtendedAttributeType, Section, Site.
Secured with ROLE_Manager and ROLE_AppAdmin for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/sectionDetailed/show.gsp

    r273 r288  
    5656                                <ul>
    5757                                <g:each var="a" in="${sectionInstance.assets}">
    58                                     <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
     58                                    <li><g:link controller="assetDetailed" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li>
    5959                                </g:each>
    6060                                </ul>
     
    6666                            <td valign="top" class="name">Department:</td>
    6767                           
    68                             <td valign="top" class="value"><g:link controller="department" action="show" id="${sectionInstance?.department?.id}">${sectionInstance?.department?.encodeAsHTML()}</g:link></td>
     68                            <td valign="top" class="value"><g:link controller="departmentDetailed" action="show" id="${sectionInstance?.department?.id}">${sectionInstance?.department?.encodeAsHTML()}</g:link></td>
    6969                           
    7070                        </tr>
     
    7676                                <ul>
    7777                                <g:each var="m" in="${sectionInstance.maintenanceActions}">
    78                                     <li><g:link controller="maintenanceAction" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
     78                                    <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>
    7979                                </g:each>
    8080                                </ul>
     
    8989                                <ul>
    9090                                <g:each var="s" in="${sectionInstance.sectionExtendedAttributes}">
    91                                     <li><g:link controller="sectionExtendedAttribute" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
     91                                    <li><g:link controller="sectionExtendedAttributeDetailed" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li>
    9292                                </g:each>
    9393                                </ul>
     
    9999                            <td valign="top" class="name">Site:</td>
    100100                           
    101                             <td valign="top" class="value"><g:link controller="site" action="show" id="${sectionInstance?.site?.id}">${sectionInstance?.site?.encodeAsHTML()}</g:link></td>
     101                            <td valign="top" class="value"><g:link controller="siteDetailed" action="show" id="${sectionInstance?.site?.id}">${sectionInstance?.site?.encodeAsHTML()}</g:link></td>
    102102                           
    103103                        </tr>
Note: See TracChangeset for help on using the changeset viewer.