Changeset 47 for trunk/src/grails-app/views/task
- Timestamp:
- Feb 1, 2009, 2:40:28 PM (16 years ago)
- Location:
- trunk/src/grails-app/views/task
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/grails-app/views/task/create.gsp
r21 r47 47 47 <tr class="prop"> 48 48 <td valign="top" class="name"> 49 <label for=" person">Person:</label>49 <label for="leadPerson">Lead Person:</label> 50 50 </td> 51 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' person','errors')}">52 <g:select optionKey="id" from="${Person.list()}" name=" person.id" value="${taskInstance?.person?.id}" ></g:select>51 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 52 <g:select optionKey="id" from="${Person.list()}" name="leadPerson.id" value="${taskInstance?.leadPerson?.id}" ></g:select> 53 53 </td> 54 54 </tr> -
trunk/src/grails-app/views/task/edit.gsp
r21 r47 81 81 <tr class="prop"> 82 82 <td valign="top" class="name"> 83 <label for=" person">Person:</label>83 <label for="leadPerson">Person:</label> 84 84 </td> 85 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:' person','errors')}">86 <g:select optionKey="id" from="${Person.list()}" name=" person.id" value="${taskInstance?.person?.id}" ></g:select>85 <td valign="top" class="value ${hasErrors(bean:taskInstance,field:'leadPerson','errors')}"> 86 <g:select optionKey="id" from="${Person.list()}" name="leadPerson.id" value="${taskInstance?.leadPerson?.id}" ></g:select> 87 87 </td> 88 88 </tr> -
trunk/src/grails-app/views/task/list.gsp
r21 r47 1 2 1 3 2 <html> … … 28 27 <g:sortableColumn property="description" title="Description" /> 29 28 30 <th>Person</th>29 <g:sortableColumn property="leadPerson" title="Lead Person" /> 31 30 32 31 <g:sortableColumn property="scheduledDate" title="Scheduled Date" /> … … 40 39 <tr class="${(i % 2) == 0 ? 'odd' : 'even'}"> 41 40 42 <td><g:link action=" show" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'id')}</g:link></td>41 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'id')}</g:link></td> 43 42 44 <td> ${fieldValue(bean:taskInstance, field:'name')}</td>43 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'name')}</g:link></td> 45 44 46 <td> ${fieldValue(bean:taskInstance, field:'description')}</td>45 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'description')}</g:link></td> 47 46 48 <td> ${fieldValue(bean:taskInstance, field:'person')}</td>47 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'leadPerson')}</g:link></td> 49 48 50 <td> ${fieldValue(bean:taskInstance, field:'scheduledDate')}</td>49 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'scheduledDate')}</g:link></td> 51 50 52 <td> ${fieldValue(bean:taskInstance, field:'targetDate')}</td>51 <td><g:link action="edit" id="${taskInstance.id}">${fieldValue(bean:taskInstance, field:'targetDate')}</g:link></td> 53 52 54 53 </tr> -
trunk/src/grails-app/views/task/show.gsp
r21 r47 71 71 72 72 <tr class="prop"> 73 <td valign="top" class="name"> Person:</td>73 <td valign="top" class="name">Lead Person:</td> 74 74 75 <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?. person?.id}">${taskInstance?.person?.encodeAsHTML()}</g:link></td>75 <td valign="top" class="value"><g:link controller="person" action="show" id="${taskInstance?.leadPerson?.id}">${taskInstance?.leadPerson?.encodeAsHTML()}</g:link></td> 76 76 77 77 </tr>
Note: See TracChangeset
for help on using the changeset viewer.