Ignore:
Timestamp:
Feb 9, 2010, 3:54:38 AM (14 years ago)
Author:
gav
Message:

Some detailing on Site, Department and Section list veiws.

File:
1 edited

Legend:

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

    r273 r339  
    3232                           
    3333                                <th>Site</th>
     34
     35                            <th></th>
    3436                           
    3537                        </tr>
     
    3739                    <tbody>
    3840                    <g:each in="${sectionInstanceList}" status="i" var="sectionInstance">
    39                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     41                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/sectionDetailed/show/${sectionInstance.id}"'/>
    4042                       
    41                             <td><g:link action="show" id="${sectionInstance.id}">${fieldValue(bean:sectionInstance, field:'id')}</g:link></td>
     43                            <td>${fieldValue(bean:sectionInstance, field:'id')}</td>
    4244                       
    4345                            <td>${fieldValue(bean:sectionInstance, field:'name')}</td>
     
    5052                       
    5153                            <td>${fieldValue(bean:sectionInstance, field:'site')}</td>
     54
     55                            <td>
     56                                <g:link action="show" id="${sectionInstance.id}">
     57                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     58                                </g:link>
     59                            </td>
    5260                       
    5361                        </tr>
Note: See TracChangeset for help on using the changeset viewer.