Changeset 180 for trunk/grails-app/views
- Timestamp:
- Nov 4, 2009, 2:47:47 PM (15 years ago)
- Location:
- trunk/grails-app/views/taskDetailed
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/taskDetailed/create.gsp
r168 r180 21 21 </g:hasErrors> 22 22 23 <g:form id='createTaskForm' name='createTaskForm'action="save" method="post" >23 <g:form action="save" method="post" > 24 24 <div class="dialog"> 25 25 <table> -
trunk/grails-app/views/taskDetailed/show.gsp
r175 r180 4 4 <meta name="layout" content="main" /> 5 5 <title>Show Task</title> 6 <g:javascript src="overlayPane.js" /> 6 7 <nav:resources override="true"/> 7 8 <resource:tabView skin="tabviewCustom" /> … … 15 16 <div class="message">${flash.message}</div> 16 17 </g:if> 17 <g:hasErrors bean="${task ProcedureInstance}">18 <g:hasErrors bean="${taskInstance}"> 18 19 <div class="errors"> 19 <g:renderErrors bean="${task ProcedureInstance}" as="list" />20 <g:renderErrors bean="${taskInstance}" as="list" /> 20 21 </div> 21 22 </g:hasErrors> … … 41 42 42 43 <tr class="prop"> 43 <td valign="top" class="name">Id:</td>44 45 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'id')}</td>46 47 </tr>48 49 <tr class="prop">50 44 <td valign="top" class="name">Description:</td> 51 45 … … 62 56 63 57 <tr class="prop"> 64 <td valign="top" class="name">Target Start Date:</td>58 <td valign="top" class="name">Target Start:</td> 65 59 66 60 <td valign="top" class="value"><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td> … … 69 63 70 64 <tr class="prop"> 71 <td valign="top" class="name">Target Completion Date:</td>65 <td valign="top" class="name">Target Completion:</td> 72 66 73 67 <td valign="top" class="value"><g:formatDate date="${taskInstance.targetCompletionDate}" format="EEE, dd-MMM-yyyy"/></td> 74 68 75 69 </tr> 70 71 <tr class="prop"> 72 <td valign="top" class="name"> 73 <div id="modControlClosed"> 74 <a href='' onclick="showElement('modifications'); 75 showElement('modControlOpened'); 76 hideElement('modControlClosed'); return false;"> 77 Modifications <img src="${resource(dir:'images/skin',file:'sorted_asc.gif')}" alt="Show" /> 78 </a> 79 </div> 80 <div id="modControlOpened" style="display:none;"> 81 <a href='' onclick="hideElement('modifications'); 82 hideElement('modControlOpened'); 83 showElement('modControlClosed'); 84 return false;"> 85 Modifications <img src="${resource(dir:'images/skin',file:'sorted_desc.gif')}" alt="Show" /> 86 </a> 87 </div> 88 </td> 89 90 <td valign="top" style="text-align:left;" class="value"> 91 <div id="modifications" style="display:none;"> 92 <ul> 93 <g:each var="a" in="${taskModificationList}"> 94 <li>${a?.encodeAsHTML()}</li> 95 </g:each> 96 </ul> 97 </div> 98 </td> 99 </tr> 100 76 101 77 102 <tr class="prop"> … … 103 128 104 129 <tr class="prop"> 105 <td valign="top" class="name"> TaskPriority:</td>130 <td valign="top" class="name">Priority:</td> 106 131 107 132 <td valign="top" class="value">${taskInstance?.taskPriority?.encodeAsHTML()}</td> … … 110 135 111 136 <tr class="prop"> 112 <td valign="top" class="name"> TaskStatus:</td>137 <td valign="top" class="name">Status:</td> 113 138 114 139 <td valign="top" class="value">${taskInstance?.taskStatus?.encodeAsHTML()}</td> … … 117 142 118 143 <tr class="prop"> 119 <td valign="top" class="name"> IsActive:</td>144 <td valign="top" class="name">Active:</td> 120 145 121 146 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> … … 124 149 125 150 <tr class="prop"> 126 <td valign="top" class="name"> IsApproved:</td>151 <td valign="top" class="name">Approved:</td> 127 152 128 153 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> … … 131 156 132 157 <tr class="prop"> 133 <td valign="top" class="name"> IsScheduled:</td>158 <td valign="top" class="name">Scheduled:</td> 134 159 135 160 <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> … … 145 170 146 171 <tr class="prop"> 147 <td valign="top" class="name"> TaskGroup:</td>172 <td valign="top" class="name">Group:</td> 148 173 149 174 <td valign="top" class="value">${taskInstance?.taskGroup?.encodeAsHTML()}</td> … … 152 177 153 178 <tr class="prop"> 154 <td valign="top" class="name">T ask Type:</td>179 <td valign="top" class="name">Type:</td> 155 180 156 181 <td valign="top" class="value">${taskInstance?.taskType?.encodeAsHTML()}</td>
Note: See TracChangeset
for help on using the changeset viewer.