[21] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
---|
| 4 | <meta name="layout" content="main" /> |
---|
| 5 | <title>Show Task</title> |
---|
| 6 | </head> |
---|
| 7 | <body> |
---|
| 8 | <div class="nav"> |
---|
| 9 | <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span> |
---|
| 10 | <span class="menuButton"><g:link class="list" action="list">Task List</g:link></span> |
---|
| 11 | <span class="menuButton"><g:link class="create" action="create">New Task</g:link></span> |
---|
| 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <h1>Show Task</h1> |
---|
| 15 | <g:if test="${flash.message}"> |
---|
| 16 | <div class="message">${flash.message}</div> |
---|
| 17 | </g:if> |
---|
[50] | 18 | <div class="buttons"> |
---|
| 19 | <g:form> |
---|
| 20 | <input type="hidden" name="id" value="${taskInstance?.id}" /> |
---|
| 21 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 22 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 23 | </g:form> |
---|
| 24 | </div> |
---|
| 25 | |
---|
[21] | 26 | <div class="dialog"> |
---|
| 27 | <table> |
---|
| 28 | <tbody> |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | <tr class="prop"> |
---|
| 32 | <td valign="top" class="name">Id:</td> |
---|
| 33 | |
---|
| 34 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'id')}</td> |
---|
| 35 | |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | <tr class="prop"> |
---|
| 39 | <td valign="top" class="name">Name:</td> |
---|
| 40 | |
---|
| 41 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'name')}</td> |
---|
| 42 | |
---|
| 43 | </tr> |
---|
| 44 | |
---|
| 45 | <tr class="prop"> |
---|
| 46 | <td valign="top" class="name">Description:</td> |
---|
| 47 | |
---|
| 48 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'description')}</td> |
---|
| 49 | |
---|
| 50 | </tr> |
---|
| 51 | |
---|
[50] | 52 | |
---|
[21] | 53 | |
---|
[50] | 54 | <!-- <tr class="prop"> |
---|
[21] | 55 | <td valign="top" class="name">Modifications:</td> |
---|
| 56 | |
---|
| 57 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 58 | <ul> |
---|
| 59 | <g:each var="m" in="${taskInstance.modifications}"> |
---|
| 60 | <li><g:link controller="modification" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> |
---|
| 61 | </g:each> |
---|
| 62 | </ul> |
---|
| 63 | </td> |
---|
| 64 | |
---|
[50] | 65 | </tr>--> |
---|
[21] | 66 | |
---|
| 67 | <tr class="prop"> |
---|
[47] | 68 | <td valign="top" class="name">Lead Person:</td> |
---|
[21] | 69 | |
---|
[47] | 70 | <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> |
---|
[21] | 71 | |
---|
| 72 | </tr> |
---|
| 73 | |
---|
| 74 | <tr class="prop"> |
---|
| 75 | <td valign="top" class="name">Scheduled Date:</td> |
---|
| 76 | |
---|
| 77 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'scheduledDate')}</td> |
---|
| 78 | |
---|
| 79 | </tr> |
---|
| 80 | |
---|
| 81 | <tr class="prop"> |
---|
| 82 | <td valign="top" class="name">Target Date:</td> |
---|
| 83 | |
---|
| 84 | <td valign="top" class="value">${fieldValue(bean:taskInstance, field:'targetDate')}</td> |
---|
| 85 | |
---|
| 86 | </tr> |
---|
| 87 | |
---|
| 88 | <tr class="prop"> |
---|
| 89 | <td valign="top" class="name">Task Group:</td> |
---|
| 90 | |
---|
| 91 | <td valign="top" class="value"><g:link controller="taskGroup" action="show" id="${taskInstance?.taskGroup?.id}">${taskInstance?.taskGroup?.encodeAsHTML()}</g:link></td> |
---|
| 92 | |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | </tbody> |
---|
| 96 | </table> |
---|
| 97 | </div> |
---|
[50] | 98 | <div class="dialog"> |
---|
| 99 | <table> |
---|
| 100 | <tbody> |
---|
| 101 | <div class="dialog"> |
---|
| 102 | <tr class="prop"> |
---|
| 103 | <td valign="top" class="name">Entries:</td> |
---|
| 104 | <td /> |
---|
| 105 | <td /> |
---|
| 106 | <td /> |
---|
| 107 | </tr> |
---|
| 108 | <tr class="prop"> |
---|
| 109 | <td /> |
---|
| 110 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 111 | <g:each var="comment" in="${taskInstance.entries.comments}"> |
---|
| 112 | </br> |
---|
| 113 | ${comment} |
---|
| 114 | </br> |
---|
| 115 | </g:each> |
---|
| 116 | </td> |
---|
| 117 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 118 | <g:each var="date" in="${taskInstance.entries.date}"> |
---|
| 119 | </br> |
---|
| 120 | ${date} |
---|
| 121 | </br> |
---|
| 122 | </g:each> |
---|
| 123 | </td> |
---|
| 124 | <td valign="top" style="text-align:left;" class="value"> |
---|
| 125 | <g:each var="person" in="${taskInstance.entries.person}"> |
---|
| 126 | </br> |
---|
| 127 | ${person} |
---|
| 128 | </br> |
---|
| 129 | </g:each> |
---|
| 130 | </td> |
---|
| 131 | </tr> |
---|
| 132 | </div> |
---|
| 133 | </tbody> |
---|
| 134 | </table> |
---|
[21] | 135 | </div> |
---|
| 136 | </div> |
---|
| 137 | </body> |
---|
| 138 | </html> |
---|