[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> |
---|
[838] | 35 | |
---|
| 36 | <g:if test="${entryInstance.productionReference}"> |
---|
| 37 | <tr class="prop"> |
---|
| 38 | <td valign="top" class="name">Production:</td> |
---|
| 39 | |
---|
| 40 | <td valign="top" class="value"> |
---|
| 41 | ${fieldValue(bean:entryInstance, field:'productionReference')} |
---|
| 42 | </td> |
---|
| 43 | |
---|
| 44 | </tr> |
---|
| 45 | </g:if> |
---|
| 46 | |
---|
| 47 | <g:if test="${entryInstance.highestSeverity}"> |
---|
| 48 | <tr class="prop"> |
---|
| 49 | <td valign="top" class="name">Condition Severity:</td> |
---|
| 50 | |
---|
| 51 | <td valign="top" class="value"> |
---|
| 52 | ${fieldValue(bean:entryInstance, field:'highestSeverity')} |
---|
| 53 | </td> |
---|
| 54 | |
---|
| 55 | </tr> |
---|
| 56 | </g:if> |
---|
[92] | 57 | |
---|
| 58 | <tr class="prop"> |
---|
| 59 | <td valign="top" class="name">Comment:</td> |
---|
| 60 | |
---|
| 61 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'comment')}</td> |
---|
| 62 | |
---|
| 63 | </tr> |
---|
| 64 | |
---|
| 65 | <tr class="prop"> |
---|
| 66 | <td valign="top" class="name">Date Done:</td> |
---|
| 67 | |
---|
[147] | 68 | <td valign="top" class="value"> |
---|
| 69 | <g:formatDate date="${entryInstance.dateDone}" format="EEE, dd-MMM-yyyy"/> |
---|
| 70 | </td> |
---|
[92] | 71 | |
---|
| 72 | </tr> |
---|
| 73 | |
---|
| 74 | <tr class="prop"> |
---|
[147] | 75 | <td valign="top" class="name">Duration:</td> |
---|
| 76 | <td valign="top" class="value">${entryInstance.durationHour}h : ${entryInstance.durationMinute}min</td> |
---|
[92] | 77 | </tr> |
---|
| 78 | |
---|
| 79 | <tr class="prop"> |
---|
| 80 | <td valign="top" class="name">Date Entered:</td> |
---|
| 81 | |
---|
[147] | 82 | <td valign="top" class="value"> |
---|
| 83 | <g:formatDate date="${entryInstance.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> |
---|
| 84 | </td> |
---|
[92] | 85 | |
---|
| 86 | </tr> |
---|
| 87 | |
---|
| 88 | <tr class="prop"> |
---|
| 89 | <td valign="top" class="name">Entered By:</td> |
---|
| 90 | |
---|
[98] | 91 | <td valign="top" class="value">${entryInstance?.enteredBy?.encodeAsHTML()}</td> |
---|
[92] | 92 | |
---|
| 93 | </tr> |
---|
| 94 | |
---|
| 95 | <tr class="prop"> |
---|
| 96 | <td valign="top" class="name">Entry Type:</td> |
---|
| 97 | |
---|
[98] | 98 | <td valign="top" class="value">${entryInstance?.entryType?.encodeAsHTML()}</td> |
---|
[92] | 99 | |
---|
| 100 | </tr> |
---|
| 101 | |
---|
| 102 | </tbody> |
---|
| 103 | </table> |
---|
| 104 | </div> |
---|
| 105 | <div class="buttons"> |
---|
| 106 | <g:form> |
---|
| 107 | <input type="hidden" name="id" value="${entryInstance?.id}" /> |
---|
| 108 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
| 109 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
| 110 | </g:form> |
---|
| 111 | </div> |
---|
| 112 | </div> |
---|
| 113 | </body> |
---|
| 114 | </html> |
---|