Changeset 788


Ignore:
Timestamp:
Feb 5, 2011, 9:39:14 PM (9 years ago)
Author:
gav
Message:

Domain change, MaintenanceAction.reasoning to pageRef.

Location:
branches/features/taskProcedureRework/grails-app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/features/taskProcedureRework/grails-app/domain/MaintenanceAction.groovy

    r770 r788  
    88
    99    String description
    10     String reasoning = ""
     10    String pageRef = ""
    1111    Integer procedureStepNumber
    1212
     
    2626        procedureStepNumber(nullable:true)
    2727        description(blank:false,maxSize:100)
    28         reasoning(maxSize:100)
     28        pageRef(maxSize:100)
    2929    }
    3030
  • branches/features/taskProcedureRework/grails-app/views/taskDetailed/show.gsp

    r785 r788  
    568568                                            <th>Assembly</th>
    569569                                            <th>Description</th>
    570                                             <th>Reference</th>
     570                                            <th>Page Ref</th>
    571571                                        </tr>
    572572                                    </thead>
     
    592592
    593593                                                <td  valign="top" style="text-align:left;" class="value">
    594                                                     ${fieldValue(bean:maintenanceAction, field:'reasoning')}
     594                                                    ${fieldValue(bean:maintenanceAction, field:'pageRef')}
    595595                                                </td>
    596596
  • branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceAction.gsp

    r776 r788  
    2727        </td>
    2828
    29         <td valign="top" class="value ${hasErrors(bean:ma,field:'reasoning','errors')}">
    30             <g:textArea name="maintenanceActionLazyList[${i}].reasoning"
    31                                     value="${ma?.reasoning}"
     29        <td valign="top" class="value ${hasErrors(bean:ma,field:'pageRef','errors')}">
     30            <g:textArea name="maintenanceActionLazyList[${i}].pageRef"
     31                                    value="${ma?.pageRef}"
    3232                                    style="width:100%;height:auto;"
    3333                                    rows="2"
  • branches/features/taskProcedureRework/grails-app/views/taskProcedureDetailed/_maintenanceActions.gsp

    r779 r788  
    44    var ma_cloneId = "maintenanceActionLazyList_clone";
    55    var ma_lazyList = "maintenanceActionLazyList";
    6     var ma_fields = ["toBeDeleted", "isNew", "description", "reasoning", "assetSubItem.id", "procedureStepNumber"];
     6    var ma_fields = ["toBeDeleted", "isNew", "description", "pageRef", "assetSubItem.id", "procedureStepNumber"];
    77    var ma_focusField = "procedureStepNumber";
    88
     
    5151                    <th>Assembly</th>
    5252                    <th>Description</th>
    53                     <th>Reasoning</th>
     53                    <th>Page Ref</th>
    5454                    <th></th>
    5555
Note: See TracChangeset for help on using the changeset viewer.