Ignore:
Timestamp:
Dec 22, 2009, 5:38:37 PM (15 years ago)
Author:
gav
Message:

Convert assignedPersons to assignedGroups as per ticket #37.

Location:
trunk/grails-app/views/assignedGroupDetailed
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assignedGroupDetailed/show.gsp

    r147 r240  
    55        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    66        <meta name="layout" content="main" />
    7         <title>Show AssignedPerson</title>
     7        <title>Show AssignedGroup</title>
    88    </head>
    99    <body>
    1010        <div class="nav">
    11             <h1>Show Assigned Person</h1>
     11            <h1>Show Assigned Group</h1>
    1212        </div>
    1313        <div class="body">
     
    2323                            <td valign="top" class="name">Id:</td>
    2424                           
    25                             <td valign="top" class="value">${fieldValue(bean:assignedPersonInstance, field:'id')}</td>
     25                            <td valign="top" class="value">${fieldValue(bean:assignedGroupInstance, field:'id')}</td>
    2626                           
    2727                        </tr>
     
    3030                            <td valign="top" class="name">Task:</td>
    3131                           
    32                             <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${assignedPersonInstance?.task?.id}">${assignedPersonInstance?.task?.encodeAsHTML()}</g:link></td>
     32                            <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${assignedGroupInstance?.task?.id}">${assignedGroupInstance?.task?.encodeAsHTML()}</g:link></td>
    3333                           
    3434                        </tr>
    3535                   
    3636                        <tr class="prop">
    37                             <td valign="top" class="name">Person:</td>
     37                            <td valign="top" class="name">Group:</td>
    3838                           
    39                             <td valign="top" class="value"><g:link controller="person" action="show" id="${assignedPersonInstance?.person?.id}">${assignedPersonInstance?.person?.encodeAsHTML()}</g:link></td>
     39                            <td valign="top" class="value"><g:link controller="personGroup" action="show" id="${assignedGroupInstance?.personGroup?.id}">${assignedGroupInstance?.personGroup?.encodeAsHTML()}</g:link></td>
    4040                           
    4141                        </tr>
     
    4343                        <tr class="prop">
    4444                            <td valign="top" class="name">Estimated Duration:</td>
    45                             <td valign="top" class="value">${assignedPersonInstance.estimatedHour}h : ${assignedPersonInstance.estimatedMinute}min</td>
     45                            <td valign="top" class="value">${assignedGroupInstance.estimatedHour}h : ${assignedGroupInstance.estimatedMinute}min</td>
    4646                        </tr>
    4747
     
    5151            <div class="buttons">
    5252                <g:form>
    53                     <input type="hidden" name="id" value="${assignedPersonInstance?.id}" />
     53                    <input type="hidden" name="id" value="${assignedGroupInstance?.id}" />
    5454                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
    5555                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
Note: See TracChangeset for help on using the changeset viewer.