Ignore:
Timestamp:
May 31, 2010, 9:39:19 PM (14 years ago)
Author:
gav
Message:

Svn move UnitOfMeasure to UnitOfMeasureDetailed.

Location:
trunk/grails-app/views/unitOfMeasureDetailed
Files:
1 copied
1 moved

Legend:

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

    r557 r559  
    66        <meta name="layout" content="main" />
    77        <title>UnitOfMeasure List</title>
     8        <nav:resources override="true"/>
    89    </head>
    910    <body>
    1011        <div class="nav">
    11             <span class="menuButton"><g:link class="create" action="create">New UnitOfMeasure</g:link></span>
     12            <nav:renderSubItems group="navAlt"/>
    1213        </div>
    1314        <div class="body">
    14             <h1>UnitOfMeasure List</h1>
    1515            <g:render template="/shared/messages" />
    1616            <div class="list">
     
    2626                       
    2727                                <g:sortableColumn property="isActive" title="Is Active" />
     28
     29                            <th></th>
    2830                       
    2931                        </tr>
     
    3133                    <tbody>
    3234                    <g:each in="${unitOfMeasureInstanceList}" status="i" var="unitOfMeasureInstance">
    33                         <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
     35                        <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/>
    3436                       
    35                             <td><g:link action="show" id="${unitOfMeasureInstance.id}">${fieldValue(bean:unitOfMeasureInstance, field:'id')}</g:link></td>
     37                            <td onclick='window.location = "${request.getContextPath()}/unitOfMeasureDetailed/show/${unitOfMeasureInstance.id}"'>
     38                                    ${fieldValue(bean:unitOfMeasureInstance, field:'id')}
     39                            </td>
    3640                       
    37                             <td>${fieldValue(bean:unitOfMeasureInstance, field:'name')}</td>
     41                            <td onclick='window.location = "${request.getContextPath()}/unitOfMeasureDetailed/show/${unitOfMeasureInstance.id}"'>
     42                                ${fieldValue(bean:unitOfMeasureInstance, field:'name')}
     43                            </td>
    3844                       
    39                             <td>${fieldValue(bean:unitOfMeasureInstance, field:'description')}</td>
     45                            <td onclick='window.location = "${request.getContextPath()}/unitOfMeasureDetailed/show/${unitOfMeasureInstance.id}"'>
     46                                ${fieldValue(bean:unitOfMeasureInstance, field:'description')}
     47                            </td>
    4048                       
    41                             <td>${fieldValue(bean:unitOfMeasureInstance, field:'isActive')}</td>
     49                            <td onclick='window.location = "${request.getContextPath()}/unitOfMeasureDetailed/show/${unitOfMeasureInstance.id}"'>
     50                                ${fieldValue(bean:unitOfMeasureInstance, field:'isActive')}
     51                            </td>
     52
     53                            <td class="notClickable">
     54                                <g:link action="show" id="${unitOfMeasureInstance.id}">
     55                                    <img  src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
     56                                </g:link>
     57                            </td>
    4258                       
    4359                        </tr>
Note: See TracChangeset for help on using the changeset viewer.