Last change
on this file since 250 was
247,
checked in by gav, 15 years ago
|
Refactor AssignedGroup to use a serviced controller.
|
File size:
2.6 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 AssignedGroup</title> |
---|
8 | </head> |
---|
9 | <body> |
---|
10 | <div class="nav"> |
---|
11 | <h1>Show Assigned Group</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:assignedGroupInstance, 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="${assignedGroupInstance?.task?.id}">${assignedGroupInstance?.task?.encodeAsHTML()}</g:link></td> |
---|
33 | |
---|
34 | </tr> |
---|
35 | |
---|
36 | <tr class="prop"> |
---|
37 | <td valign="top" class="name">Group:</td> |
---|
38 | |
---|
39 | <td valign="top" class="value"><g:link controller="personGroup" action="show" id="${assignedGroupInstance?.personGroup?.id}">${assignedGroupInstance?.personGroup?.encodeAsHTML()}</g:link></td> |
---|
40 | |
---|
41 | </tr> |
---|
42 | |
---|
43 | <tr class="prop"> |
---|
44 | <td valign="top" class="name">Estimated Duration:</td> |
---|
45 | <td valign="top" class="value">${assignedGroupInstance.estimatedHour}h : ${assignedGroupInstance.estimatedMinute}min</td> |
---|
46 | </tr> |
---|
47 | |
---|
48 | </tbody> |
---|
49 | </table> |
---|
50 | </div> |
---|
51 | <div class="buttons"> |
---|
52 | <g:form> |
---|
53 | <g:hiddenField name="id" value="${assignedGroupInstance?.id}" /> |
---|
54 | <g:hiddenField name="task.id" value="${assignedGroupInstance?.task?.id}" /> |
---|
55 | <span class="button"><g:actionSubmit class="edit" value="Edit" /></span> |
---|
56 | <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> |
---|
57 | </g:form> |
---|
58 | </div> |
---|
59 | </div> |
---|
60 | </body> |
---|
61 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.