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