Ignore:
Timestamp:
Feb 27, 2011, 10:29:09 PM (13 years ago)
Author:
gav
Message:

Use custom version of helpBalloon taglib in entry create template.

File:
1 edited

Legend:

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

    r826 r830  
    1414                            <textarea rows="5" cols="40" name="comment">${fieldValue(bean:entryInstance, field:'comment')}</textarea>
    1515                            <g:if test="${entryInstance?.entryType?.id == 1}">
    16 <%--                                  <g:helpBalloon code="entry.comment.fault" />  --%>
     16                                <custom:helpBalloon code="entry.comment.fault" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    1717                            </g:if>
    1818                            <g:elseif test="${entryInstance?.entryType?.id == 2}">
    19 <%--                                  <g:helpBalloon code="entry.comment.cause" />  --%>
     19                                <custom:helpBalloon code="entry.comment.cause" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    2020                            </g:elseif>
    2121                            <g:elseif test="${entryInstance?.entryType?.id == 3}">
    22 <%--                                  <g:helpBalloon code="entry.comment.work.done" />  --%>
     22                                <custom:helpBalloon code="entry.comment.work.done" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
     23                            </g:elseif>
     24                            <g:elseif test="${entryInstance?.entryType?.id == 6}">
     25                                <custom:helpBalloon code="entry.comment.pm.entry" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    2326                            </g:elseif>
    2427                        </td>
     
    3134                        <td valign="top" class="value ${hasErrors(bean:entryInstance,field:'dateDone','errors')}">
    3235                            <richui:dateChooser name="dateDone" format="dd-MM-yyyy" value="${entryInstance.dateDone}" />
    33 <%--                              <g:helpBalloon code="entry.date.done" />  --%>
     36                            <custom:helpBalloon code="entry.date.done" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    3437                        </td>
    3538                    </tr>
     
    4750                                                    noSelection="['null':'--None--']">
    4851                                </g:select>
    49 <%--                                  <g:helpBalloon code="entry.productionReference.fault" />  --%>
     52                                <custom:helpBalloon code="entry.productionReference.fault" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    5053                            </td>
    5154                        </tr>
     
    6669                                    type="text" id="durationMinute" name="durationMinute"
    6770                                    value="${fieldValue(bean:entryInstance,field:'durationMinute')}" />
    68 <%--                                  <g:helpBalloon code="entry.duration" />  --%>
     71                                <custom:helpBalloon code="entry.duration" iconSrc="${resource(plugin:'help-balloons', dir:'images', file:'balloon-icon.gif')}" />
    6972                            </td>
    7073                        </tr>
Note: See TracChangeset for help on using the changeset viewer.