Ignore:
Timestamp:
Mar 3, 2011, 11:17:40 PM (13 years ago)
Author:
gav
Message:

Update service, controller and view logic to hand Task and Entry highestSeverity.
Also remove associatedAssets from task search panes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/entryDetailed/_list.gsp

    r834 r838  
    1818                <thead>
    1919                    <tr>
     20                        <g:if test="${entryList[0]?.entryType?.id == 6}">
     21                            <th>
     22                                <img src="${resource(dir:'images/skin',file:'award_star_silver_3.png')}"
     23                                        alt="Severity"
     24                                        title="Highest Severity"  />
     25                            </th>
     26                        </g:if>
    2027                        <th>Comment</th>
    2128                        <th>Date Done</th>
     
    2835                    <g:each in="${entryList}" status="i" var="entry">
    2936                            <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}">
     37
     38                                <g:if test="${entryList[0]?.entryType?.id == 6}">
     39                                    <td onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
     40                                        ${entry.highestSeverity.code.encodeAsHTML()}
     41                                    </td>
     42                                </g:if>
    3043
    3144                                <td width="65%" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'>
Note: See TracChangeset for help on using the changeset viewer.