Ignore:
Timestamp:
Feb 28, 2010, 7:13:47 PM (14 years ago)
Author:
gav
Message:

Add attentionFlag to Task domain along with views and logic to suite.
Add entry type 'cause', refactor as required.
Refactor task types.
Move createBreakin to createImmediateCallout.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/taskDetailed/search.gsp

    r356 r418  
    1414
    1515        <div class="body">
    16             <g:if test="${flash.message}">
    17                 <div class="message">${flash.message}</div>
    18             </g:if>
     16            <g:render template="/shared/messages" />
    1917            <g:if test="${params.message}">
    2018                <div class="message">${params.message}</div>
     
    9189                        <tr>
    9290
     91                            <custom:sortableColumnWithImg property="attentionFlag"
     92                                                                                            imgSrc="${resource(dir:'images/skin',file:'flag_red.png')}"
     93                                                                                            imgAlt="Flag" params="${filterParams}" />
     94
    9395                            <g:sortableColumn property="id" title="Id" params="${filterParams}" />
    9496
     
    9698
    9799                            <g:sortableColumn property="description" title="Description" params="${filterParams}" />
    98 
    99                             <g:sortableColumn  property="leadPerson" title="Lead Person" params="${filterParams}" />
    100100
    101101                            <g:sortableColumn  property="taskPriority" title="Task Priority" params="${filterParams}" />
     
    111111                    <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/taskDetailed/show/${taskInstance.id}"'/>
    112112
    113                             <td>${fieldValue(bean:taskInstance, field:'id')}</td>
     113                            <td class="idColumn">
     114                                <g:if test="${taskInstance.attentionFlag}">
     115                                    <img  src="${resource(dir:'images/skin',file:'flag_red.png')}" alt="Flag" />
     116                                </g:if>
     117                            </td>
     118
     119                            <td class="idColumn">${fieldValue(bean:taskInstance, field:'id')}</td>
    114120
    115121                            <td><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>
    116122
    117123                            <td>${fieldValue(bean:taskInstance, field:'description')}</td>
    118 
    119                             <td>${fieldValue(bean:taskInstance, field:'leadPerson')}</td>
    120124
    121125                            <td>${fieldValue(bean:taskInstance, field:'taskPriority')}</td>
Note: See TracChangeset for help on using the changeset viewer.