Ignore:
Timestamp:
Mar 5, 2010, 12:45:43 PM (14 years ago)
Author:
gav
Message:

Add ProductionReference.
Add ProductionManager and ProductionUser roles.
Update immediate callout help definitions, roll errors into one ul.
Add help definitions for resolved and unresolved.

File:
1 edited

Legend:

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

    r418 r431  
    6262                                            <td valign="top" class="name">Parent Task:</td>
    6363
    64                                             <td valign="top" class="value"><g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask.id}">${taskInstance.parentTask.encodeAsHTML()}</g:link></td>
     64                                            <td valign="top" class="value">
     65                                                <g:link controller="taskDetailed" action="show" id="${taskInstance.parentTask.id}">
     66                                                    ${taskInstance.parentTask.encodeAsHTML()}
     67                                                </g:link>
     68                                            </td>
    6569
    6670                                        </tr>
     
    7781                                        <td valign="top" class="name">Target Start:</td>
    7882
    79                                         <td valign="top" class="value"><g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/></td>
     83                                        <td valign="top" class="value">
     84                                            <g:formatDate date="${taskInstance.targetStartDate}" format="EEE, dd-MMM-yyyy"/>
     85                                        </td>
    8086
    8187                                    </tr>
     
    8490                                        <td valign="top" class="name">Target Completion:</td>
    8591
    86                                         <td valign="top" class="value"><g:formatDate date="${taskInstance.targetCompletionDate}" format="EEE, dd-MMM-yyyy"/></td>
     92                                        <td valign="top" class="value">
     93                                            <g:formatDate date="${taskInstance.targetCompletionDate}" format="EEE, dd-MMM-yyyy"/>
     94                                        </td>
    8795
    8896                                    </tr>
     
    236244                                        <g:else>
    237245                                            <span class="button"><g:actionSubmit class="flag" value="Unresolved" action="setAttentionFlag"/></span>
     246                                            <g:helpBalloon class="helpballoon" code="task.status.unresolved" />
    238247                                        </g:else>
    239248
    240249                                        <span class="button"><g:actionSubmit class="complete" value="Resolved" action="complete"/></span>
     250                                        <g:helpBalloon class="helpballoon" code="task.status.resolved" />
    241251
    242252                                        <g:if test="${taskInstance.approved}" >
     
    272282                                        <tr>
    273283                                            <th>Comment</th>
    274                                             <th>Date Done</th>
     284                                            <th>Date</th>
     285                                            <th>Production</th>
    275286                                            <th>Down Time</th>
    276287                                            <th>Entered By</th>
     
    282293                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    283294
    284                                                     <td style="width:65%">${entry.comment}</td>
     295                                                    <td style="width:65%">${entry.comment.encodeAsHTML()}</td>
    285296                                                    <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
     297                                                    <td>
     298                                                        <g:if test="${entry.productionReference}">
     299                                                            ${entry.productionReference.encodeAsHTML()}
     300                                                        </g:if>
     301                                                        <g:else>
     302                                                            <g:message code="default.none.text" />
     303                                                        </g:else>
     304                                                    </td>
    286305                                                    <td>${entry.durationHour}:${entry.durationMinute}</td>
    287                                                     <td>${entry.enteredBy}</td>
     306                                                    <td>${entry.enteredBy.encodeAsHTML()}</td>
    288307
    289308                                                    <td>
     
    332351                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    333352
    334                                                     <td style="width:65%">${entry.comment}</td>
     353                                                    <td style="width:65%">${entry.comment.encodeAsHTML()}</td>
    335354                                                    <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
    336                                                     <td>${entry.enteredBy}</td>
     355                                                    <td>${entry.enteredBy.encodeAsHTML()}</td>
    337356
    338357                                                    <td>
     
    382401                                                <tr class="${(i % 2) == 0 ? 'clickableOdd' : 'clickableEven'}" onclick='window.location = "${request.getContextPath()}/entryDetailed/edit/${entry.id}"'/>
    383402
    384                                                     <td width="65%">${entry.comment}</td>
     403                                                    <td width="65%">${entry.comment.encodeAsHTML()}</td>
    385404                                                    <td><g:formatDate date="${entry.dateDone}" format="EEE, dd-MMM-yyyy"/></td>
    386405                                                    <td>${entry.durationHour}:${entry.durationMinute}</td>
    387                                                     <td>${entry.enteredBy}</td>
     406                                                    <td>${entry.enteredBy.encodeAsHTML()}</td>
    388407
    389408                                                    <td>
Note: See TracChangeset for help on using the changeset viewer.