Ignore:
Timestamp:
Feb 24, 2010, 2:44:22 PM (14 years ago)
Author:
gav
Message:

Change views to use shared messages: ExtendedAttribute views for Asset, AssetSubItem?, Department, Section, Site.

File:
1 edited

Legend:

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

    r268 r413  
    99    <body>
    1010        <div class="nav">
    11             <span class="menuButton"><g:link class="list" action="list">DepartmentExtendedAttribute List</g:link></span>
    12             <span class="menuButton"><g:link class="create" action="create">New DepartmentExtendedAttribute</g:link></span>
     11            <h1>Show Department Extended Attribute</h1>
    1312        </div>
    1413        <div class="body">
    15             <h1>Show DepartmentExtendedAttribute</h1>
    16             <g:if test="${flash.message}">
    17             <div class="message">${flash.message}</div>
    18             </g:if>
     14            <g:render template="/shared/messages" />
    1915            <div class="dialog">
    2016                <table>
     
    4642                            <td valign="top" class="name">Department:</td>
    4743                           
    48                             <td valign="top" class="value"><g:link controller="department" action="show" id="${departmentExtendedAttributeInstance?.department?.id}">${departmentExtendedAttributeInstance?.department?.encodeAsHTML()}</g:link></td>
     44                            <td valign="top" class="value"><g:link controller="departmentDetailed" action="show" id="${departmentExtendedAttributeInstance?.department?.id}">${departmentExtendedAttributeInstance?.department?.encodeAsHTML()}</g:link></td>
    4945                           
    5046                        </tr>
     
    5349                            <td valign="top" class="name">Extended Attribute Type:</td>
    5450                           
    55                             <td valign="top" class="value"><g:link controller="extendedAttributeType" action="show" id="${departmentExtendedAttributeInstance?.extendedAttributeType?.id}">${departmentExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>
     51                            <td valign="top" class="value"><g:link controller="extendedAttributeTypeDetailed" action="show" id="${departmentExtendedAttributeInstance?.extendedAttributeType?.id}">${departmentExtendedAttributeInstance?.extendedAttributeType?.encodeAsHTML()}</g:link></td>
    5652                           
    5753                        </tr>
Note: See TracChangeset for help on using the changeset viewer.