Changeset 913 for trunk/grails-app/views
- Timestamp:
- May 1, 2011, 12:46:31 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/features/grailsUpgrade merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/grails-app/views/appCore/manager.gsp
r746 r913 72 72 </tr> 73 73 74 <tr class="prop">75 <td valign="top" class="name">76 <label>Entity Relationship Diagram:</label>77 </td>78 <td valign="top" class="value">79 80 <a href="${createLink(controller:'classDiagram', action:'model', params:[outputFormat: 'pdf', skin: 'classicSpaced', showMethods: 'false', autoUpdate: 'false'])}">PDF</a>81 <br />82 <a href="${createLink(controller:'classDiagram', action:'legend', target:'_blank')}">Legend</a>83 <br />84 <a href="${createLink(controller:'classDiagram', action:'show')}">Interactive.</a>85 </td>86 </tr>87 88 74 </tbody> 89 75 </table> -
trunk/grails-app/views/shared/_assetTreeCompact.gsp
r798 r913 1 2 <%-- Fetch to prevent lazy initialization error. --%>3 <% assetInstance = Asset.read(assetInstance?.id)%>4 5 1 <div class="static_tree"> 6 ${assetInstance ?.encodeAsHTML()}2 ${assetInstance.encodeAsHTML()} 7 3 <div class="static_tree_compact"> 8 4 <ul> 9 <g:each var="assetSubItem1" in="${assetInstance ?.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">5 <g:each var="assetSubItem1" in="${assetInstance.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 10 6 <li> 11 ${assetSubItem1 ?.encodeAsHTML()}7 ${assetSubItem1.encodeAsHTML()} 12 8 </li> 13 9 … … 17 13 <g:each var="assetSubItem2" in="${assetSubItem1.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 18 14 <li> 19 ${assetSubItem2 ?.encodeAsHTML()}15 ${assetSubItem2.encodeAsHTML()} 20 16 </li> 21 17 </g:each> <!--assetSubItem2--> -
trunk/grails-app/views/taskDetailed/createUnscheduled.gsp
r872 r913 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> -
trunk/grails-app/views/taskDetailed/edit.gsp
r815 r913 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}"> -
trunk/grails-app/views/taskProcedureDetailed/_taskProcedure.gsp
r809 r913 27 27 <td valign="top" class="name">Linked Asset:</td> 28 28 <td valign="top" class="value"> 29 <g: render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureInstance.linkedTask.primaryAsset]" />29 <g:include controller="assetDetailed" action="assetTreeCompact" id="${taskProcedureInstance.linkedTask.primaryAsset.id}" /> 30 30 </td> 31 31 </tr> -
trunk/grails-app/views/taskProcedureDetailed/_taskProcedureRevision.gsp
r854 r913 25 25 <td valign="top" class="name">Linked Asset:</td> 26 26 <td valign="top" class="value"> 27 <g:render template="/shared/assetTreeCompact" model="['assetInstance': taskProcedureRevision.linkedTask.primaryAsset]" /> 27 <g:include controller="assetDetailed" action="assetTreeCompact" id="${taskProcedureRevision.linkedTask.primaryAsset.id}" /> 28 28 29 </td> 29 30 </tr> -
trunk/grails-app/views/taskProcedureDetailed/list.gsp
r809 r913 36 36 <tr> 37 37 38 <g:sortableColumn property="id" title="Id" 38 <g:sortableColumn property="id" title="Id" params="${filterParams}" /> 39 39 <th>Description</th> 40 40 <th>Asset</th>
Note: See TracChangeset
for help on using the changeset viewer.