Changeset 884 for branches/features
- Timestamp:
- Apr 14, 2011, 8:24:29 PM (14 years ago)
- Location:
- branches/features/grailsUpgrade/grails-app/views/taskDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/grailsUpgrade/grails-app/views/taskDetailed/createUnscheduled.gsp
r872 r884 129 129 ${taskInstance.taskType.encodeAsHTML()} 130 130 </td> 131 </tr> 132 133 <tr class="prop"> 134 <td valign="top" class="name"> 135 <label for="safetyRequirement">Safety Requirement:</label> 136 </td> 137 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'safetyRequirement','errors')}"> 138 <g:checkBox name="safetyRequirement" value="${taskInstance?.safetyRequirement}" ></g:checkBox> 139 <g:helpBalloon code="task.safetyRequirement" /> 140 </td> 141 </tr> 142 143 <tr class="prop"> 144 <td valign="top" class="name"> 145 <label for="regulatoryRequirement">Regulatory Requirement:</label> 146 </td> 147 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'regulatoryRequirement','errors')}"> 148 <g:checkBox name="regulatoryRequirement" value="${taskInstance?.regulatoryRequirement}" ></g:checkBox> 149 <g:helpBalloon code="task.regulatoryRequirement" /> 150 </td> 151 </tr> 152 153 <tr class="prop"> 154 <td valign="top" class="name"> 155 <label for="mandatoryRequirement">Mandatory Requirement:</label> 156 </td> 157 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'mandatoryRequirement','errors')}"> 158 <g:checkBox name="mandatoryRequirement" value="${taskInstance?.mandatoryRequirement}" ></g:checkBox> 159 <g:helpBalloon code="task.mandatoryRequirement" /> 160 </td> 161 </tr> 131 </tr> 132 133 <g:ifAnyGranted role="ROLE_AppAdmin,ROLE_Manager,ROLE_TaskManager"> 134 <tr class="prop"> 135 <td valign="top" class="name"> 136 <label for="safetyRequirement">Safety Requirement:</label> 137 </td> 138 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'safetyRequirement','errors')}"> 139 <g:checkBox name="safetyRequirement" value="${taskInstance?.safetyRequirement}" ></g:checkBox> 140 <g:helpBalloon code="task.safetyRequirement" /> 141 </td> 142 </tr> 143 144 <tr class="prop"> 145 <td valign="top" class="name"> 146 <label for="regulatoryRequirement">Regulatory Requirement:</label> 147 </td> 148 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'regulatoryRequirement','errors')}"> 149 <g:checkBox name="regulatoryRequirement" value="${taskInstance?.regulatoryRequirement}" ></g:checkBox> 150 <g:helpBalloon code="task.regulatoryRequirement" /> 151 </td> 152 </tr> 153 154 <tr class="prop"> 155 <td valign="top" class="name"> 156 <label for="mandatoryRequirement">Mandatory Requirement:</label> 157 </td> 158 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'mandatoryRequirement','errors')}"> 159 <g:checkBox name="mandatoryRequirement" value="${taskInstance?.mandatoryRequirement}" ></g:checkBox> 160 <g:helpBalloon code="task.mandatoryRequirement" /> 161 </td> 162 </tr> 163 164 <tr class="prop"> 165 <td valign="top" class="name"> 166 <label for="positiveFault">Positive Fault:</label> 167 </td> 168 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'positiveFault','errors')}"> 169 <g:checkBox name="positiveFault" value="${taskInstance?.positiveFault}" ></g:checkBox> 170 <g:helpBalloon code="task.positiveFault" /> 171 </td> 172 </tr> 173 </g:ifAnyGranted> 162 174 163 175 </tbody> -
branches/features/grailsUpgrade/grails-app/views/taskDetailed/edit.gsp
r815 r884 161 161 </td> 162 162 </tr> 163 164 <tr class="prop"> 165 <td valign="top" class="name"> 166 <label for="safetyRequirement">Safety Requirement:</label> 167 </td> 168 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'safetyRequirement','errors')}"> 169 <g:checkBox name="safetyRequirement" value="${taskInstance?.safetyRequirement}" ></g:checkBox> 170 <g:helpBalloon code="task.safetyRequirement" /> 171 </td> 172 </tr> 173 174 <tr class="prop"> 175 <td valign="top" class="name"> 176 <label for="regulatoryRequirement">Regulatory Requirement:</label> 177 </td> 178 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'regulatoryRequirement','errors')}"> 179 <g:checkBox name="regulatoryRequirement" value="${taskInstance?.regulatoryRequirement}" ></g:checkBox> 180 <g:helpBalloon code="task.regulatoryRequirement" /> 181 </td> 182 </tr> 183 184 <tr class="prop"> 185 <td valign="top" class="name"> 186 <label for="mandatoryRequirement">Mandatory Requirement:</label> 187 </td> 188 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'mandatoryRequirement','errors')}"> 189 <g:checkBox name="mandatoryRequirement" value="${taskInstance?.mandatoryRequirement}" ></g:checkBox> 190 <g:helpBalloon code="task.mandatoryRequirement" /> 191 </td> 192 </tr> 193 194 <tr class="prop"> 195 <td valign="top" class="name"> 196 <label for="positiveFault">Positive Fault:</label> 197 </td> 198 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'positiveFault','errors')}"> 199 <g:checkBox name="positiveFault" value="${taskInstance?.positiveFault}" ></g:checkBox> 200 <g:helpBalloon code="task.positiveFault" /> 201 </td> 202 </tr> 163 164 <g:ifAnyGranted role="ROLE_AppAdmin,ROLE_Manager,ROLE_TaskManager"> 165 <tr class="prop"> 166 <td valign="top" class="name"> 167 <label for="safetyRequirement">Safety Requirement:</label> 168 </td> 169 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'safetyRequirement','errors')}"> 170 <g:checkBox name="safetyRequirement" value="${taskInstance?.safetyRequirement}" ></g:checkBox> 171 <g:helpBalloon code="task.safetyRequirement" /> 172 </td> 173 </tr> 174 175 <tr class="prop"> 176 <td valign="top" class="name"> 177 <label for="regulatoryRequirement">Regulatory Requirement:</label> 178 </td> 179 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'regulatoryRequirement','errors')}"> 180 <g:checkBox name="regulatoryRequirement" value="${taskInstance?.regulatoryRequirement}" ></g:checkBox> 181 <g:helpBalloon code="task.regulatoryRequirement" /> 182 </td> 183 </tr> 184 185 <tr class="prop"> 186 <td valign="top" class="name"> 187 <label for="mandatoryRequirement">Mandatory Requirement:</label> 188 </td> 189 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'mandatoryRequirement','errors')}"> 190 <g:checkBox name="mandatoryRequirement" value="${taskInstance?.mandatoryRequirement}" ></g:checkBox> 191 <g:helpBalloon code="task.mandatoryRequirement" /> 192 </td> 193 </tr> 194 195 <tr class="prop"> 196 <td valign="top" class="name"> 197 <label for="positiveFault">Positive Fault:</label> 198 </td> 199 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'positiveFault','errors')}"> 200 <g:checkBox name="positiveFault" value="${taskInstance?.positiveFault}" ></g:checkBox> 201 <g:helpBalloon code="task.positiveFault" /> 202 </td> 203 </tr> 204 </g:ifAnyGranted> 203 205 204 206 <g:if test="${taskInstance.assignedGroups}">
Note: See TracChangeset
for help on using the changeset viewer.