Ignore:
Timestamp:
Feb 1, 2009, 2:40:28 PM (16 years ago)
Author:
gav
Message:

Change Person attribute of Task to leadPerson, update views and Bootstrap to suite.
Make entire row of Task list view clickable and go directly to edit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/grails-app/views/task/list.gsp

    r21 r47  
    1 
    21
    32<html>
     
    2827                                <g:sortableColumn property="description" title="Description" />
    2928                       
    30                                 <th>Person</th>
     29                            <g:sortableColumn property="leadPerson" title="Lead Person" />
    3130                           
    3231                                <g:sortableColumn property="scheduledDate" title="Scheduled Date" />
     
    4039                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
    4140                       
    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>
    4342                       
    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>
    4544                       
    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>
    4746                       
    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>
    4948                       
    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>
    5150                       
    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>
    5352                       
    5453                        </tr>
Note: See TracChangeset for help on using the changeset viewer.