[66] | 1 | |
---|
| 2 | |
---|
| 3 | <html> |
---|
| 4 | <head> |
---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 6 | <meta name="layout" content="main" /> |
---|
| 7 | <title>Show Task</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
| 11 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 12 | <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span> |
---|
| 13 | <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span> |
---|
| 14 | </div> |
---|
| 15 | <div class="body"> |
---|
| 16 | <h1>Show Task</h1> |
---|
| 17 | <g:if test="${flash.message}"> |
---|
| 18 | <div class="message">${flash.message}</div> |
---|
| 19 | </g:if> |
---|
| 20 | <div class="dialog"> |
---|
| 21 | <table> |
---|
| 22 | <tbody> |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | <tr class="prop"> |
---|
| 26 | <td valign="top" class="name">Id:</td> |
---|
| 27 | |
---|
| 28 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'id')}</td> |
---|
| 29 | |
---|
| 30 | </tr> |
---|
| 31 | |
---|
| 32 | <tr class="prop"> |
---|
| 33 | <td valign="top" class="name">Target Start Date:</td> |
---|
| 34 | |
---|
| 35 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetStartDate')}</td> |
---|
| 36 | |
---|
| 37 | </tr> |
---|
| 38 | |
---|
| 39 | <tr class="prop"> |
---|
| 40 | <td valign="top" class="name">Description:</td> |
---|
| 41 | |
---|
| 42 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
| 43 | |
---|
| 44 | </tr> |
---|
| 45 | |
---|
| 46 | <tr class="prop"> |
---|
| 47 | <td valign="top" class="name">Lead Person:</td> |
---|
| 48 | |
---|
| 49 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> |
---|
| 50 | |
---|
| 51 | </tr> |
---|
| 52 | |
---|
| 53 | <tr class="prop"> |
---|
[70] | 54 | <td valign="top" class="name">Task Priority:</td> |
---|
| 55 | |
---|
| 56 | <td valign="top" class="value"><g:link controller="taskPriority" action="show" id="${taskInstance?.taskPriority?.id}">${taskInstance?.taskPriority?.encodeAsHTML()}</g:link></td> |
---|
| 57 | |
---|
| 58 | </tr> |
---|
| 59 | |
---|
| 60 | <tr class="prop"> |
---|
[66] | 61 | <td valign="top" class="name">Task Status:</td> |
---|
| 62 | |
---|
| 63 | <td valign="top" class="value"><g:link controller="taskStatus" action="show" id="${taskInstance?.taskStatus?.id}">${taskInstance?.taskStatus?.encodeAsHTML()}</g:link></td> |
---|
| 64 | |
---|
| 65 | </tr> |
---|
| 66 | |
---|
| 67 | <tr class="prop"> |
---|
[69] | 68 | <td valign="top" class="name">Parent Task:</td> |
---|
| 69 | |
---|
| 70 | <td valign="top" class="value"><g:link controller="task" action="show" id="${taskInstance?.parentTask?.id}">${taskInstance?.parentTask?.encodeAsHTML()}</g:link></td> |
---|
| 71 | |
---|
| 72 | </tr> |
---|
| 73 | |
---|
| 74 | <tr class="prop"> |
---|
[66] | 75 | <td valign="top" class="name">Comment:</td> |
---|
| 76 | |
---|
| 77 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'comment')}</td> |
---|
| 78 | |
---|
| 79 | </tr> |
---|
| 80 | |
---|
| 81 | <tr class="prop"> |
---|
[122] | 82 | <td valign="top" class="name">Primary Asset:</td> |
---|
| 83 | |
---|
| 84 | <td valign="top" class="value"><g:link controller="asset" action="show" id="${taskInstance?.primaryAsset?.id}">${taskInstance?.primaryAsset?.encodeAsHTML()}</g:link></td> |
---|
| 85 | |
---|
| 86 | </tr> |
---|
| 87 | |
---|
| 88 | <tr class="prop"> |
---|
[66] | 89 | <td valign="top" class="name">Assigned Persons:</td> |
---|
| 90 | |
---|
[96] | 91 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 92 | <ul> |
---|
| 93 | <g:each var="a" in="${taskInstance.assignedPersons}"> |
---|
| 94 | <li><g:link controller="assignedPerson" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 95 | </g:each> |
---|
| 96 | </ul> |
---|
| 97 | </td> |
---|
[66] | 98 | |
---|
| 99 | </tr> |
---|
| 100 | |
---|
| 101 | <tr class="prop"> |
---|
[122] | 102 | <td valign="top" class="name">Associated Assets:</td> |
---|
| 103 | |
---|
| 104 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 105 | <ul> |
---|
| 106 | <g:each var="a" in="${taskInstance.associatedAssets}"> |
---|
| 107 | <li><g:link controller="asset" action="show" id="${a.id}">${a?.encodeAsHTML()}</g:link></li> |
---|
| 108 | </g:each> |
---|
| 109 | </ul> |
---|
| 110 | </td> |
---|
| 111 | |
---|
| 112 | </tr> |
---|
| 113 | |
---|
| 114 | <tr class="prop"> |
---|
[66] | 115 | <td valign="top" class="name">Entries:</td> |
---|
| 116 | |
---|
| 117 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 118 | <ul> |
---|
| 119 | <g:each var="e" in="${taskInstance.entries}"> |
---|
| 120 | <li><g:link controller="entry" action="show" id="${e.id}">${e?.encodeAsHTML()}</g:link></li> |
---|
| 121 | </g:each> |
---|
| 122 | </ul> |
---|
| 123 | </td> |
---|
| 124 | |
---|
| 125 | </tr> |
---|
| 126 | |
---|
| 127 | <tr class="prop"> |
---|
[122] | 128 | <td valign="top" class="name">Inventory Movements:</td> |
---|
| 129 | |
---|
| 130 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 131 | <ul> |
---|
| 132 | <g:each var="i" in="${taskInstance.inventoryMovements}"> |
---|
| 133 | <li><g:link controller="inventoryMovement" action="show" id="${i.id}">${i?.encodeAsHTML()}</g:link></li> |
---|
| 134 | </g:each> |
---|
| 135 | </ul> |
---|
| 136 | </td> |
---|
| 137 | |
---|
| 138 | </tr> |
---|
| 139 | |
---|
| 140 | <tr class="prop"> |
---|
[66] | 141 | <td valign="top" class="name">Is Active:</td> |
---|
| 142 | |
---|
| 143 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isActive')}</td> |
---|
| 144 | |
---|
| 145 | </tr> |
---|
| 146 | |
---|
| 147 | <tr class="prop"> |
---|
| 148 | <td valign="top" class="name">Is Approved:</td> |
---|
| 149 | |
---|
| 150 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isApproved')}</td> |
---|
| 151 | |
---|
| 152 | </tr> |
---|
| 153 | |
---|
| 154 | <tr class="prop"> |
---|
| 155 | <td valign="top" class="name">Is Scheduled:</td> |
---|
| 156 | |
---|
| 157 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'isScheduled')}</td> |
---|
| 158 | |
---|
| 159 | </tr> |
---|
| 160 | |
---|
| 161 | <tr class="prop"> |
---|
[122] | 162 | <td valign="top" class="name">Recurring Schedule:</td> |
---|
| 163 | |
---|
| 164 | <td valign="top" class="value"><g:link controller="recurringSchedule" action="show" id="${taskInstance?.recurringSchedule?.id}">${taskInstance?.recurringSchedule?.encodeAsHTML()}</g:link></td> |
---|
| 165 | |
---|
| 166 | </tr> |
---|
| 167 | |
---|
| 168 | <tr class="prop"> |
---|
[69] | 169 | <td valign="top" class="name">Sub Tasks:</td> |
---|
| 170 | |
---|
| 171 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 172 | <ul> |
---|
| 173 | <g:each var="s" in="${taskInstance.subTasks}"> |
---|
| 174 | <li><g:link controller="task" action="show" id="${s.id}">${s?.encodeAsHTML()}</g:link></li> |
---|
| 175 | </g:each> |
---|
| 176 | </ul> |
---|
| 177 | </td> |
---|
| 178 | |
---|
| 179 | </tr> |
---|
| 180 | |
---|
| 181 | <tr class="prop"> |
---|
[66] | 182 | <td valign="top" class="name">Target Completion Date:</td> |
---|
| 183 | |
---|
| 184 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetCompletionDate')}</td> |
---|
| 185 | |
---|
| 186 | </tr> |
---|
| 187 | |
---|
| 188 | <tr class="prop"> |
---|
| 189 | <td valign="top" class="name">Task Group:</td> |
---|
| 190 | |
---|
| 191 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
| 192 | |
---|
| 193 | </tr> |
---|
| 194 | |
---|
[70] | 195 | <tr class="prop"> |
---|
[96] | 196 | <td valign="top" class="name">Task Modifications:</td> |
---|
| 197 | |
---|
| 198 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 199 | <ul> |
---|
| 200 | <g:each var="t" in="${taskInstance.taskModifications}"> |
---|
| 201 | <li><g:link controller="taskModification" action="show" id="${t.id}">${t?.encodeAsHTML()}</g:link></li> |
---|
| 202 | </g:each> |
---|
| 203 | </ul> |
---|
| 204 | </td> |
---|
| 205 | |
---|
| 206 | </tr> |
---|
| 207 | |
---|
| 208 | <tr class="prop"> |
---|
[70] | 209 | <td valign="top" class="name">Task Type:</td> |
---|
| 210 | |
---|
| 211 | <td valign="top" class="value"><g:link controller="taskType" action="show" id="${taskInstance?.taskType?.id}">${taskInstance?.taskType?.encodeAsHTML()}</g:link></td> |
---|
| 212 | |
---|
| 213 | </tr> |
---|
| 214 | |
---|
[66] | 215 | </tbody> |
---|
| 216 | </table> |
---|
| 217 | </div> |
---|
| 218 | <div class="buttons"> |
---|
| 219 | <g:form> |
---|
| 220 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
| 221 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 222 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 223 | </g:form> |
---|
| 224 | </div> |
---|
| 225 | </div> |
---|
| 226 | </body> |
---|
| 227 | </html> |
---|