Changeset 830 for trunk/grails-app


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

Use custom version of helpBalloon taglib in entry create template.

Location:
trunk/grails-app
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/i18n/messages.properties

    r825 r830  
    131131entry.comment.work.done=Work Done
    132132entry.comment.work.done.help=Describe the work that was done.
     133entry.comment.production.note=Production Note
     134entry.comment.production.note.help=Comment on the production.
     135entry.comment.work.request=Work Request
     136entry.comment.work.request.help=Describe the work request.
     137entry.comment.pm.entry=PM Entry
     138entry.comment.pm.entry.help=Describe the condition severity and work done.
    133139entry.productionReference.fault=Production Reference
    134140entry.productionReference.fault.help=The production during which the fault occurred.
  • 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.