Ignore:
Timestamp:
Feb 2, 2011, 8:38:20 PM (13 years ago)
Author:
gav
Message:

Domain change, improved draft of creating taskProcedure dynamic form.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/views/taskDetailed/show.gsp

    r762 r770  
    513513                                        <tr class="prop">
    514514                                            <td valign="top" class="name">Procedure Id:</td>
    515 
    516                                             <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'id')}</td>
    517 
    518                                         </tr>
    519 
    520                         <tr class="prop">
    521                             <td valign="top" class="name">Linked Task:</td>
    522                             <td valign="top" class="value">
    523                                 <g:link controller="taskDetailed" action="show" id="${taskProcedureInstance.linkedTask.id}">
    524                                     ${taskProcedureInstance.linkedTask.encodeAsHTML()}
    525                                 </g:link>
    526                             </td>
    527                         </tr>
     515                                            <td valign="top" class="value">
     516                                                ${fieldValue(bean:taskProcedureInstance, field:'id')}
     517                                            </td>
     518                                        </tr>
     519
     520                                        <tr class="prop">
     521                                            <td valign="top" class="name">Linked Task:</td>
     522                                            <td valign="top" class="value">
     523                                                <g:link controller="taskDetailed"
     524                                                                action="show"
     525                                                                id="${taskProcedureInstance.linkedTask.id}">
     526                                                    ${taskProcedureInstance.linkedTask.encodeAsHTML()}
     527                                                </g:link>
     528                                            </td>
     529                                        </tr>
     530
     531                                        <tr class="prop">
     532                                            <td valign="top" class="name">Linked Asset:</td>
     533                                            <td valign="top" class="value">
     534                                                ${fieldValue(bean:taskProcedureInstance, field:'linkedTask.primaryAsset')}
     535                                            </td>
     536                                        </tr>
     537
     538                                        <tr class="prop">
     539                                            <td valign="top" class="name">Version:</td>
     540                                            <td valign="top" class="value">
     541                                                    ${fieldValue(bean:taskProcedureInstance, field:'version')}
     542                                            </td>
     543                                        </tr>
    528544
    529545                                    </tbody>
     
    542558                                        <tr>
    543559                                            <th>Step</th>
     560                                            <th>Sub Item</th>
    544561                                            <th>Description</th>
    545562                                            <th>Reasoning</th>
    546                                             <th>Sub Item</th>
    547563                                        </tr>
    548564                                    </thead>
     
    556572
    557573                                                <td  valign="top" style="text-align:left;" class="value">
     574                                                    ${fieldValue(bean:maintenanceAction, field:'assetSubItem')}
     575                                                </td>
     576
     577                                                <td  valign="top" style="text-align:left;" class="value">
    558578                                                    ${fieldValue(bean:maintenanceAction, field:'description')}
    559579                                                </td>
     
    561581                                                <td  valign="top" style="text-align:left;" class="value">
    562582                                                    ${fieldValue(bean:maintenanceAction, field:'reasoning')}
    563                                                 </td>
    564 
    565                                                 <td  valign="top" style="text-align:left;" class="value">
    566                                                     ${fieldValue(bean:maintenanceAction, field:'assetSubItem')}
    567583                                                </td>
    568584
Note: See TracChangeset for help on using the changeset viewer.