[92] | 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 Entry</title> |
---|
| 8 | </head> |
---|
| 9 | <body> |
---|
| 10 | <div class="nav"> |
---|
[147] | 11 | <h1>Show Entry</h1> |
---|
[92] | 12 | </div> |
---|
| 13 | <div class="body"> |
---|
| 14 | <g:if test="${flash.message}"> |
---|
| 15 | <div class="message">${flash.message}</div> |
---|
| 16 | </g:if> |
---|
| 17 | <div class="dialog"> |
---|
| 18 | <table> |
---|
| 19 | <tbody> |
---|
| 20 | |
---|
| 21 | |
---|
| 22 | <tr class="prop"> |
---|
| 23 | <td valign="top" class="name">Id:</td> |
---|
| 24 | |
---|
| 25 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'id')}</td> |
---|
| 26 | |
---|
| 27 | </tr> |
---|
| 28 | |
---|
| 29 | <tr class="prop"> |
---|
| 30 | <td valign="top" class="name">Task:</td> |
---|
| 31 | |
---|
[98] | 32 | <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${entryInstance?.task?.id}">${entryInstance?.task?.encodeAsHTML()}</g:link></td> |
---|
[92] | 33 | |
---|
| 34 | </tr> |
---|
| 35 | |
---|
| 36 | <tr class="prop"> |
---|
| 37 | <td valign="top" class="name">Comment:</td> |
---|
| 38 | |
---|
| 39 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'comment')}</td> |
---|
| 40 | |
---|
| 41 | </tr> |
---|
| 42 | |
---|
| 43 | <tr class="prop"> |
---|
| 44 | <td valign="top" class="name">Date Done:</td> |
---|
| 45 | |
---|
[147] | 46 | <td valign="top" class="value"> |
---|
| 47 | <g:formatDate date="${entryInstance.dateDone}" format="EEE, dd-MMM-yyyy"/> |
---|
| 48 | </td> |
---|
[92] | 49 | |
---|
| 50 | </tr> |
---|
[431] | 51 | |
---|
| 52 | <g:if test="${entryInstance.productionReference}"> |
---|
| 53 | <tr class="prop"> |
---|
| 54 | <td valign="top" class="name">Production:</td> |
---|
| 55 | |
---|
| 56 | <td valign="top" class="value"> |
---|
| 57 | ${fieldValue(bean:entryInstance, field:'productionReference')} |
---|
| 58 | </td> |
---|
| 59 | |
---|
| 60 | </tr> |
---|
| 61 | </g:if> |
---|
[92] | 62 | |
---|
| 63 | <tr class="prop"> |
---|
[147] | 64 | <td valign="top" class="name">Duration:</td> |
---|
| 65 | <td valign="top" class="value">${entryInstance.durationHour}h : ${entryInstance.durationMinute}min</td> |
---|
[92] | 66 | </tr> |
---|
| 67 | |
---|
| 68 | <tr class="prop"> |
---|
| 69 | <td valign="top" class="name">Date Entered:</td> |
---|
| 70 | |
---|
[147] | 71 | <td valign="top" class="value"> |
---|
| 72 | <g:formatDate date="${entryInstance.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 73 | </td> |
---|
[92] | 74 | |
---|
| 75 | </tr> |
---|
| 76 | |
---|
| 77 | <tr class="prop"> |
---|
| 78 | <td valign="top" class="name">Entered By:</td> |
---|
| 79 | |
---|
[98] | 80 | <td valign="top" class="value">${entryInstance?.enteredBy?.encodeAsHTML()}</td> |
---|
[92] | 81 | |
---|
| 82 | </tr> |
---|
| 83 | |
---|
| 84 | <tr class="prop"> |
---|
| 85 | <td valign="top" class="name">Entry Type:</td> |
---|
| 86 | |
---|
[98] | 87 | <td valign="top" class="value">${entryInstance?.entryType?.encodeAsHTML()}</td> |
---|
[92] | 88 | |
---|
| 89 | </tr> |
---|
| 90 | |
---|
| 91 | </tbody> |
---|
| 92 | </table> |
---|
| 93 | </div> |
---|
| 94 | <div class="buttons"> |
---|
| 95 | <g:form> |
---|
| 96 | <input type="hidden" name="id" value="${entryInstance?.id}" /> |
---|
| 97 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 98 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 99 | </g:form> |
---|
| 100 | </div> |
---|
| 101 | </div> |
---|
| 102 | </body> |
---|
| 103 | </html> |
---|