source: trunk/grails-app/views/entryDetailed/show.gsp @ 431

Last change on this file since 431 was 431, checked in by gav, 14 years ago

Add ProductionReference.
Add ProductionManager and ProductionUser roles.
Update immediate callout help definitions, roll errors into one ul.
Add help definitions for resolved and unresolved.

File size: 4.3 KB
Line 
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            <h1>Show Entry</h1>
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                           
32                            <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${entryInstance?.task?.id}">${entryInstance?.task?.encodeAsHTML()}</g:link></td>
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                           
46                            <td valign="top" class="value">
47                                <g:formatDate date="${entryInstance.dateDone}" format="EEE, dd-MMM-yyyy"/>
48                            </td>
49                           
50                        </tr>
51
52                        <g:if test="${entryInstance.productionReference}">
53                            <tr class="prop">
54                                <td valign="top" class="name">Production:</td>
55
56                                <td valign="top" class="value">
57                                    ${fieldValue(bean:entryInstance, field:'productionReference')}
58                                </td>
59
60                            </tr>
61                        </g:if>
62                   
63                        <tr class="prop">
64                            <td valign="top" class="name">Duration:</td>
65                            <td valign="top" class="value">${entryInstance.durationHour}h : ${entryInstance.durationMinute}min</td>
66                        </tr>
67                   
68                        <tr class="prop">
69                            <td valign="top" class="name">Date Entered:</td>
70                           
71                            <td valign="top" class="value">
72                                <g:formatDate date="${entryInstance.dateEntered}" format="EEE, dd-MMM-yyyy @ HH:mm"/>
73                            </td>
74                           
75                        </tr>
76                   
77                        <tr class="prop">
78                            <td valign="top" class="name">Entered By:</td>
79                           
80                            <td valign="top" class="value">${entryInstance?.enteredBy?.encodeAsHTML()}</td>
81                           
82                        </tr>
83                   
84                        <tr class="prop">
85                            <td valign="top" class="name">Entry Type:</td>
86                           
87                            <td valign="top" class="value">${entryInstance?.entryType?.encodeAsHTML()}</td>
88                           
89                        </tr>
90                   
91                    </tbody>
92                </table>
93            </div>
94            <div class="buttons">
95                <g:form>
96                    <input type="hidden" name="id" value="${entryInstance?.id}" />
97                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
98                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
99                </g:form>
100            </div>
101        </div>
102    </body>
103</html>
Note: See TracBrowser for help on using the repository browser.