Changeset 498 for trunk/grails-app/views/taskDetailed
- Timestamp:
- Apr 19, 2010, 2:07:48 AM (15 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/search.gsp
r476 r498 97 97 <g:sortableColumn property="description" title="Description" params="${filterParams}" /> 98 98 99 <g:sortableColumn property="taskPriority" title=" TaskPriority" params="${filterParams}" />99 <g:sortableColumn property="taskPriority" title="Priority" params="${filterParams}" /> 100 100 101 <g:sortableColumn property="taskStatus" title="Task Status" params="${filterParams}" /> 101 <g:sortableColumn property="taskStatus" title="Type" params="${filterParams}" /> 102 103 <g:sortableColumn property="taskStatus" title="Status" params="${filterParams}" /> 102 104 103 105 <th></th> … … 108 110 <tbody> 109 111 <g:each in="${taskInstanceList}" status="i" var="taskInstance"> 110 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/>112 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 111 113 112 <td class="idColumn" >114 <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 113 115 <g:if test="${taskInstance.attentionFlag}"> 114 116 <img src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" /> … … 116 118 </td> 117 119 118 <td class="idColumn">${fieldValue(bean:taskInstance, field:'id')}</td> 120 <td class="idColumn" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 121 ${fieldValue(bean:taskInstance, field:'id')} 122 </td> 119 123 120 <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> 124 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 125 <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> 126 </td> 121 127 122 <td>${fieldValue(bean:taskInstance, field:'description')}</td> 128 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 129 ${fieldValue(bean:taskInstance, field:'description')} 130 </td> 123 131 124 <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td> 132 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 133 ${fieldValue(bean:taskInstance, field:'taskPriority')} 134 </td> 125 135 126 <td>${fieldValue(bean:taskInstance, field:'taskStatus')}</td> 136 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 137 ${fieldValue(bean:taskInstance, field:'taskType')} 138 </td> 127 139 128 <td> 140 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'> 141 ${fieldValue(bean:taskInstance, field:'taskStatus')} 142 </td> 143 144 <td class="notClickable"> 129 145 <g:link action="show" id="${taskInstance.id}"> 130 146 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> -
trunk/grails-app/views/taskDetailed/show.gsp
r474 r498 291 291 <tbody> 292 292 <g:each in="${entryFaultList}" status="i" var="entry"> 293 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/> 294 295 <td style="width:65%">${entry.comment.encodeAsHTML()}</td> 296 <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td> 297 <td> 293 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 294 295 <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 296 ${entry.comment.encodeAsHTML()} 297 </td> 298 299 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 300 <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> 301 </td> 302 303 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 298 304 <g:if test="${entry.productionReference}"> 299 305 ${entry.productionReference.encodeAsHTML()} … … 303 309 </g:else> 304 310 </td> 305 <td>${entry.durationHour}:${entry.durationMinute}</td> 306 <td>${entry.enteredBy.encodeAsHTML()}</td> 307 308 <td> 311 312 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 313 ${entry.durationHour}:${entry.durationMinute} 314 </td> 315 316 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 317 ${entry.enteredBy.encodeAsHTML()} 318 </td> 319 320 <td class="notClickable"> 309 321 <g:link controller="entryDetailed" action="edit" id="${entry.id}"> 310 322 <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" /> … … 349 361 <tbody> 350 362 <g:each in="${entryCauseList}" status="i" var="entry"> 351 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/> 352 353 <td style="width:65%">${entry.comment.encodeAsHTML()}</td> 354 <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td> 355 <td>${entry.enteredBy.encodeAsHTML()}</td> 356 357 <td> 363 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 364 365 <td style="width:65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 366 ${entry.comment.encodeAsHTML()} 367 </td> 368 369 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 370 <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> 371 </td> 372 373 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 374 ${entry.enteredBy.encodeAsHTML()} 375 </td> 376 377 <td class="notClickable"> 358 378 <g:link controller="entryDetailed" action="edit" id="${entry.id}"> 359 379 <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" /> … … 399 419 <tbody> 400 420 <g:each in="${entryWorkDoneList}" status="i" var="entry"> 401 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/> 402 403 <td width="65%">${entry.comment.encodeAsHTML()}</td> 404 <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td> 405 <td>${entry.durationHour}:${entry.durationMinute}</td> 406 <td>${entry.enteredBy.encodeAsHTML()}</td> 407 408 <td> 421 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 422 423 <td width="65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 424 ${entry.comment.encodeAsHTML()} 425 </td> 426 427 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 428 <g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/> 429 </td> 430 431 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 432 ${entry.durationHour}:${entry.durationMinute} 433 </td> 434 435 <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'> 436 ${entry.enteredBy.encodeAsHTML()} 437 </td> 438 439 <td class="notClickable"> 409 440 <g:link controller="entryDetailed" action="edit" id="${entry.id}"> 410 441 <img src="${resource(dir:'images/skin',file:'database_edit.png')}" alt="Edit" /> … … 513 544 514 545 <td valign="top" class="name"> 515 ${ maintenanceAction?.procedureStepNumber}546 ${fieldValue(bean:maintenanceAction, field:'procedureStepNumber')} 516 547 </td> 517 548 518 549 <td valign="top" style="text-align:left;" class="value"> 519 ${ maintenanceAction?.description}550 ${fieldValue(bean:maintenanceAction, field:'description')} 520 551 </td> 521 552 522 553 <td valign="top" style="text-align:left;" class="value"> 523 ${ maintenanceAction?.reasoning}554 ${fieldValue(bean:maintenanceAction, field:'reasoning')} 524 555 </td> 525 556 526 557 <td valign="top" style="text-align:left;" class="value"> 527 ${ maintenanceAction?.asset}558 ${fieldValue(bean:maintenanceAction, field:'asset')} 528 559 </td> 529 560 530 561 <td valign="top" style="text-align:left;" class="value"> 531 ${ maintenanceAction?.assetSubItem}562 ${fieldValue(bean:maintenanceAction, field:'assetSubItem')} 532 563 </td> 533 564 … … 659 690 <tbody> 660 691 <g:each in="${inventoryMovementList}" status="i" var="inventoryMovementInstance"> 661 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'/> 662 663 <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')}</td> 664 <td>${fieldValue(bean:inventoryMovementInstance, field:'quantity')}</td> 665 <td>${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')}</td> 666 <td><g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/></td> 667 <td> 692 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 693 694 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> 695 ${fieldValue(bean:inventoryMovementInstance, field:'inventoryItem')} 696 </td> 697 698 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> 699 ${fieldValue(bean:inventoryMovementInstance, field:'quantity')} 700 </td> 701 702 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> 703 ${fieldValue(bean:inventoryMovementInstance, field:'inventoryMovementType')} 704 </td> 705 706 <td onclick='window.location = "${request.getContextPath()}/inventoryMovementDetailed/show/${inventoryMovementInstance.id}"'> 707 <g:formatDate date="${inventoryMovementInstance.date}" format="EEE, dd-MMM-yyyy"/> 708 </td> 709 710 <td class="notClickable"> 668 711 <g:link controller="inventoryMovementDetailed" action="show" id="${inventoryMovementInstance.id}"> 669 712 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" /> … … 720 763 <tbody> 721 764 <g:each in="${subTaskInstanceList}" status="i" var="subTaskInstance"> 722 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'/> 723 724 <td>${fieldValue(bean:subTaskInstance, field:'id')}</td> 725 726 <td><g:formatDate date="${subTaskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> 727 728 <td>${subTaskInstance.description}</td> 729 730 731 <td>${subTaskInstance.leadPerson}</td> 732 733 <td>${subTaskInstance.taskPriority}</td> 734 735 <td>${subTaskInstance.taskStatus}</td> 736 737 <td> 765 <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}"/> 766 767 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 768 ${fieldValue(bean:subTaskInstance, field:'id')} 769 </td> 770 771 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 772 <g:formatDate date="${subTaskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/> 773 </td> 774 775 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 776 ${fieldValue(bean:subTaskInstance, field:'description')} 777 </td> 778 779 780 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 781 ${fieldValue(bean:subTaskInstance, field:'leadPerson')} 782 </td> 783 784 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 785 ${fieldValue(bean:subTaskInstance, field:'taskPriority')} 786 </td> 787 788 <td onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${subTaskInstance.id}"'> 789 ${fieldValue(bean:subTaskInstance, field:'taskStatus')} 790 </td> 791 792 <td class="notClickable"> 738 793 <g:link action="show" id="${subTaskInstance.id}"> 739 794 <img src="${resource(dir:'images/skin',file:'database_go.png')}" alt="Show" />
Note: See TracChangeset
for help on using the changeset viewer.