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">Comments:</td> |
---|
34 | |
---|
35 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'comments')}</td> |
---|
36 | |
---|
37 | </tr> |
---|
38 | |
---|
39 | <tr class="prop"> |
---|
40 | <td valign="top" class="name">Date:</td> |
---|
41 | |
---|
42 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'date')}</td> |
---|
43 | |
---|
44 | </tr> |
---|
45 | |
---|
46 | <tr class="prop"> |
---|
47 | <td valign="top" class="name">Duration:</td> |
---|
48 | |
---|
49 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'duration')}</td> |
---|
50 | |
---|
51 | </tr> |
---|
52 | |
---|
53 | <tr class="prop"> |
---|
54 | <td valign="top" class="name">Entry Type:</td> |
---|
55 | |
---|
56 | <td valign="top" class="value"><g:link controller="entryType" action="show" id="${entryInstance?.entryType?.id}">${entryInstance?.entryType?.encodeAsHTML()}</g:link></td> |
---|
57 | |
---|
58 | </tr> |
---|
59 | |
---|
60 | <tr class="prop"> |
---|
61 | <td valign="top" class="name">Person:</td> |
---|
62 | |
---|
63 | <td valign="top" class="value"><g:link controller="person" action="show" id="${entryInstance?.person?.id}">${entryInstance?.person?.encodeAsHTML()}</g:link></td> |
---|
64 | |
---|
65 | </tr> |
---|
66 | |
---|
67 | <tr class="prop"> |
---|
68 | <td valign="top" class="name">Persons:</td> |
---|
69 | |
---|
70 | <td valign="top" class="value">${fieldValue(bean:entryInstance, field:'persons')}</td> |
---|
71 | |
---|
72 | </tr> |
---|
73 | |
---|
74 | <tr class="prop"> |
---|
75 | <td valign="top" class="name">Task:</td> |
---|
76 | |
---|
77 | <td valign="top" class="value"><g:link controller="task" action="show" id="${entryInstance?.task?.id}">${entryInstance?.task?.encodeAsHTML()}</g:link></td> |
---|
78 | |
---|
79 | </tr> |
---|
80 | |
---|
81 | </tbody> |
---|
82 | </table> |
---|
83 | </div> |
---|
84 | <div class="buttons"> |
---|
85 | <g:form> |
---|
86 | <input type="hidden" name="id" value="${entryInstance?.id}" /> |
---|
87 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
88 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
89 | </g:form> |
---|
90 | </div> |
---|
91 | </div> |
---|
92 | </body> |
---|
93 | </html> |
---|