Changeset 872 for trunk/grails-app/views
- Timestamp:
- Mar 16, 2011, 8:43:03 AM (14 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/create.gsp
r728 r872 26 26 <tr class="prop"> 27 27 <td valign="top" class="name"> 28 <label for="description">Description:</label> 29 </td> 30 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 31 <input type="text" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 32 <g:helpBalloon class="helpballoon" code="task.description" /> 33 </td> 34 </tr> 35 36 <tr class="prop"> 37 <td valign="top" class="name"> 38 <label for="comment">Comment:</label> 39 </td> 40 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 41 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:taskInstance, field:'comment')}</textarea> 42 <g:helpBalloon class="helpballoon" code="task.comment" /> 43 </td> 44 </tr> 45 46 <tr class="prop"> 47 <td valign="top" class="name"> 48 <label for="targetStartDate">Target Start Date:</label> 49 </td> 50 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 51 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 52 <g:helpBalloon class="helpballoon" code="task.targetStartDate" /> 53 </td> 54 </tr> 55 56 <tr class="prop"> 57 <td valign="top" class="name"> 58 <label for="targetCompletionDate">Target Completion Date:</label> 59 </td> 60 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 61 <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance.targetCompletionDate}" /> 62 <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" /> 63 </td> 64 </tr> 65 66 <tr class="prop"> 67 <td valign="top" class="name"> 68 <label for="leadPerson">Lead Person:</label> 69 </td> 70 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 71 <g:select optionKey="id" 72 from="${Person.findAllByIsActive(true).sort { p1, p2 -> p1.firstName.compareToIgnoreCase(p2.firstName) }}" 73 name="leadPerson.id" 74 value="${taskInstance?.leadPerson?.id}" > 75 </g:select> 76 <g:helpBalloon code="task.leadPerson" /> 77 </td> 78 </tr> 79 80 <tr class="prop"> 81 <td valign="top" class="name"> 82 <label for="primaryAsset">Primary Asset:</label> 28 <label for="primaryAsset">Asset:</label> 83 29 </td> 84 30 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> … … 90 36 </g:select> 91 37 <g:helpBalloon code="task.primaryAsset" /> 38 </td> 39 </tr> 40 41 <tr class="prop"> 42 <td valign="top" class="name"> 43 <label for="description">Description:</label> 44 </td> 45 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'description','errors')}"> 46 <input type="text" class="description" maxlength="75" id="description" name="description" value="${fieldValue(bean:taskInstance,field:'description')}"/> 47 <g:helpBalloon class="helpballoon" code="task.description" /> 48 </td> 49 </tr> 50 51 <tr class="prop"> 52 <td valign="top" class="name"> 53 <label for="comment">Comment:</label> 54 </td> 55 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'comment','errors')}"> 56 <textarea rows="5" cols="40" name="comment">${fieldValue(bean:taskInstance, field:'comment')}</textarea> 57 <g:helpBalloon class="helpballoon" code="task.comment" /> 58 </td> 59 </tr> 60 61 <tr class="prop"> 62 <td valign="top" class="name"> 63 <label for="targetStartDate">Target Start Date:</label> 64 </td> 65 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetStartDate','errors')}"> 66 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 67 <g:helpBalloon class="helpballoon" code="task.targetStartDate" /> 68 </td> 69 </tr> 70 71 <tr class="prop"> 72 <td valign="top" class="name"> 73 <label for="targetCompletionDate">Target Completion Date:</label> 74 </td> 75 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'targetCompletionDate','errors')}"> 76 <richui:dateChooser name="targetCompletionDate" format="dd-MM-yyyy" value="${taskInstance.targetCompletionDate}" /> 77 <g:helpBalloon class="helpballoon" code="task.targetCompletionDate" /> 78 </td> 79 </tr> 80 81 <tr class="prop"> 82 <td valign="top" class="name"> 83 <label for="leadPerson">Lead Person:</label> 84 </td> 85 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 86 <g:select optionKey="id" 87 from="${Person.findAllByIsActive(true).sort { p1, p2 -> p1.firstName.compareToIgnoreCase(p2.firstName) }}" 88 name="leadPerson.id" 89 value="${taskInstance?.leadPerson?.id}" > 90 </g:select> 91 <g:helpBalloon code="task.leadPerson" /> 92 92 </td> 93 93 </tr> -
trunk/grails-app/views/taskDetailed/createImmediateCallout.gsp
r601 r872 40 40 <tr class="prop"> 41 41 <td valign="top" class="name"> 42 <label for="primaryAsset">Asset:</label> 43 </td> 44 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 45 <g:select optionKey="id" 46 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}" 47 name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}" 48 noSelection="['null':/${g.message(code:'default.none.select.text')}/]"> 49 </g:select> 50 <g:helpBalloon code="task.primaryAsset" /> 51 </td> 52 </tr> 53 54 <tr class="prop"> 55 <td valign="top" class="name"> 42 56 <label for="description">Callout Description:</label> 43 57 </td> … … 55 69 <richui:dateChooser name="targetStartDate" format="dd-MM-yyyy" value="${taskInstance.targetStartDate}" /> 56 70 <g:helpBalloon class="helpballoon" code="task.targetStartDate.immediateCallout" /> 57 </td>58 </tr>59 60 <tr class="prop">61 <td valign="top" class="name">62 <label for="primaryAsset">Asset:</label>63 </td>64 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}">65 <g:select optionKey="id"66 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"67 name="primaryAsset.id" value="${taskInstance?.primaryAsset?.id}"68 noSelection="['null':/${g.message(code:'default.none.select.text')}/]">69 </g:select>70 <g:helpBalloon code="task.primaryAsset" />71 71 </td> 72 72 </tr> … … 103 103 </td> 104 104 </tr> 105 105 106 106 <tr class="prop"> 107 107 <td valign="top" class="name"> -
trunk/grails-app/views/taskDetailed/createUnscheduled.gsp
r728 r872 25 25 <table> 26 26 <tbody> 27 28 <tr class="prop"> 29 <td valign="top" class="name"> 30 <label for="primaryAsset">Asset:</label> 31 </td> 32 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}"> 33 <g:select optionKey="id" 34 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}" 35 name="primaryAsset.id" 36 value="${taskInstance?.primaryAsset?.id}" 37 noSelection="['null':/${g.message(code:'default.none.select.text')}/]"> 38 </g:select> 39 <g:helpBalloon code="task.primaryAsset" /> 40 </td> 41 </tr> 27 42 28 43 <tr class="prop"> … … 77 92 </g:select> 78 93 <g:helpBalloon code="task.leadPerson" /> 79 </td>80 </tr>81 82 <tr class="prop">83 <td valign="top" class="name">84 <label for="primaryAsset">Asset:</label>85 </td>86 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'primaryAsset','errors')}">87 <g:select optionKey="id"88 from="${Asset.findAllByIsActive(true).sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) }}"89 name="primaryAsset.id"90 value="${taskInstance?.primaryAsset?.id}"91 noSelection="['null':/${g.message(code:'default.none.select.text')}/]">92 </g:select>93 <g:helpBalloon code="task.primaryAsset" />94 94 </td> 95 95 </tr>
Note: See TracChangeset
for help on using the changeset viewer.