Changeset 230
- Timestamp:
- Dec 18, 2009, 11:26:30 AM (15 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/conf/BootStrap.groovy
r199 r230 7 7 def init = { servletContext -> 8 8 9 log.info "Application starting." 9 10 log.debug "GrailsUtil.environment = ${GrailsUtil.environment}" 10 11 -
trunk/grails-app/i18n/messages.properties
r225 r230 21 21 entry.duration=Duration 22 22 entry.duration.help=The time (hh:mm) booked against this entry for date done. 23 entry.date.done=Date Done 24 entry.date.done.help=The date on which the event actually occurred. 25 entry.comment.fault=Fault 26 entry.comment.fault.help=Describe the fault from an operation perspective, NOT a technical perspective. 27 entry.comment.work.done=Work Done 28 entry.comment.work.done.help=Describe the work that was done. \ 29 Include the root cause if known or professional opinion on any faults. \ 30 Include condition and contributing factors. 23 31 24 32 assignedPerson.estimatedDuration=Estimated Duration -
trunk/grails-app/views/entryDetailed/create.gsp
r218 r230 42 42 <tr class="prop"> 43 43 <td valign="top" class="name"> 44 <label for="comment">${entryInstance?.entryType }:</label>44 <label for="comment">${entryInstance?.entryType.encodeAsHTML()}:</label> 45 45 </td> 46 46 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'comment','errors')}"> 47 47 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:entryInstance, field:'comment')}</textarea> 48 <g:if test="${entryInstance?.entryType?.id == 1}"> 49 <g:helpBalloon code="entry.comment.fault" /> 50 </g:if> 51 <g:elseif test="${entryInstance?.entryType?.id == 2}"> 52 <g:helpBalloon code="entry.comment.work.done" /> 53 </g:elseif> 48 54 </td> 49 </tr> 55 </tr> 50 56 51 57 <tr class="prop"> … … 55 61 <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}"> 56 62 <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${new Date()}" /> 63 <g:helpBalloon code="entry.date.done" /> 57 64 </td> 58 </tr> 65 </tr> 59 66 60 67 <tr class="prop">
Note: See TracChangeset
for help on using the changeset viewer.