Changeset 798 for trunk/grails-app/views/taskDetailed
- Timestamp:
- Feb 8, 2011, 11:00:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/show.gsp
r736 r798 513 513 <tr class="prop"> 514 514 <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">Name:</td> 522 523 <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'name')}</td> 524 525 </tr> 526 527 <tr class="prop"> 528 <td valign="top" class="name">Description:</td> 529 530 <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'description')}</td> 531 532 </tr> 533 534 <tr class="prop"> 535 <td valign="top" class="name">Is Active:</td> 536 537 <td valign="top" class="value">${fieldValue(bean:taskProcedureInstance, field:'isActive')}</td> 538 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 <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.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> 544 545 <tr class="prop"> 546 <td valign="top" class="name">Last Updated:</td> 547 <td valign="top" class="value"> 548 <g:formatDate date="${taskProcedureInstance.lastUpdated}" 549 format="EEE, dd-MMM-yyyy"/> 550 </td> 539 551 </tr> 540 552 … … 549 561 </div> 550 562 563 <br /> 564 565 <g:if test="${taskProcedureInstance.documentReferences}"> 566 <div class="list"> 567 <table> 568 <thead> 569 <tr> 570 <th>Document Reference</th> 571 <th>Location</th> 572 </tr> 573 </thead> 574 <tbody> 575 <g:each in="${taskProcedureInstance.documentReferences}" status="i" var="docRef"> 576 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 577 578 <td valign="top" class="name"> 579 ${fieldValue(bean:docRef, field:'name')} 580 </td> 581 582 <td valign="top" style="text-align:left;" class="value"> 583 <custom:easyUrl url="${docRef.location}" /> 584 </td> 585 586 </tr> 587 </g:each> 588 589 </tbody> 590 </table> 591 </div> 592 </g:if> 593 594 <br /> 595 551 596 <div class="list"> 552 597 <table> … … 554 599 <tr> 555 600 <th>Step</th> 601 <th>Assembly</th> 556 602 <th>Description</th> 557 <th>Reasoning</th> 558 <th>Asset</th> 559 <th>Sub Item</th> 603 <th>Page Ref</th> 604 <th>Condition</th> 560 605 </tr> 561 606 </thead> … … 569 614 570 615 <td valign="top" style="text-align:left;" class="value"> 616 <g:if test="${maintenanceAction.assetSubItem}"> 617 ${maintenanceAction.assetSubItem.parentItem?.encodeAsHTML()} 618 -- 619 ${maintenanceAction.assetSubItem.encodeAsHTML()} 620 </g:if> 621 </td> 622 623 <td valign="top" style="text-align:left;" class="value"> 571 624 ${fieldValue(bean:maintenanceAction, field:'description')} 572 625 </td> 573 626 574 627 <td valign="top" style="text-align:left;" class="value"> 575 ${fieldValue(bean:maintenanceAction, field:' reasoning')}628 ${fieldValue(bean:maintenanceAction, field:'pageRef')} 576 629 </td> 577 630 578 631 <td valign="top" style="text-align:left;" class="value"> 579 ${fieldValue(bean:maintenanceAction, field:'asset')}580 </td>581 582 <td valign="top" style="text-align:left;" class="value">583 ${fieldValue(bean:maintenanceAction, field:'assetSubItem')}584 632 </td> 585 633
Note: See TracChangeset
for help on using the changeset viewer.