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