| [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> | 
|---|
 | 51 |                      | 
|---|
 | 52 |                         <tr class="prop"> | 
|---|
| [147] | 53 |                             <td valign="top" class="name">Duration:</td> | 
|---|
 | 54 |                             <td valign="top" class="value">${entryInstance.durationHour}h : ${entryInstance.durationMinute}min</td> | 
|---|
| [92] | 55 |                         </tr> | 
|---|
 | 56 |                      | 
|---|
 | 57 |                         <tr class="prop"> | 
|---|
 | 58 |                             <td valign="top" class="name">Date Entered:</td> | 
|---|
 | 59 |                              | 
|---|
| [147] | 60 |                             <td valign="top" class="value"> | 
|---|
 | 61 |                                 <g:formatDate date="${entryInstance.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/> | 
|---|
 | 62 |                             </td> | 
|---|
| [92] | 63 |                              | 
|---|
 | 64 |                         </tr> | 
|---|
 | 65 |                      | 
|---|
 | 66 |                         <tr class="prop"> | 
|---|
 | 67 |                             <td valign="top" class="name">Entered By:</td> | 
|---|
 | 68 |                              | 
|---|
| [98] | 69 |                             <td valign="top" class="value">${entryInstance?.enteredBy?.encodeAsHTML()}</td> | 
|---|
| [92] | 70 |                              | 
|---|
 | 71 |                         </tr> | 
|---|
 | 72 |                      | 
|---|
 | 73 |                         <tr class="prop"> | 
|---|
 | 74 |                             <td valign="top" class="name">Entry Type:</td> | 
|---|
 | 75 |                              | 
|---|
| [98] | 76 |                             <td valign="top" class="value">${entryInstance?.entryType?.encodeAsHTML()}</td> | 
|---|
| [92] | 77 |                              | 
|---|
 | 78 |                         </tr> | 
|---|
 | 79 |                      | 
|---|
 | 80 |                     </tbody> | 
|---|
 | 81 |                 </table> | 
|---|
 | 82 |             </div> | 
|---|
 | 83 |             <div class="buttons"> | 
|---|
 | 84 |                 <g:form> | 
|---|
 | 85 |                     <input type="hidden" name="id" value="${entryInstance?.id}" /> | 
|---|
 | 86 |                     <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> | 
|---|
 | 87 |                     <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> | 
|---|
 | 88 |                 </g:form> | 
|---|
 | 89 |             </div> | 
|---|
 | 90 |         </div> | 
|---|
 | 91 |     </body> | 
|---|
 | 92 | </html> | 
|---|