Changeset 284 for trunk/grails-app/views


Ignore:
Timestamp:
Jan 21, 2010, 11:25:46 AM (15 years ago)
Author:
gav
Message:

Move asset copy and create functions into AssetService.
Repair create links in AssetTreeTagLib.

Location:
trunk/grails-app/views
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/assetDetailed/overview.gsp

    r278 r284  
    1414        </div>
    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
    2018            <div class="dialog">
  • trunk/grails-app/views/assetDetailed/search.gsp

    r271 r284  
    1515        </div>
    1616        <div class="body">
    17             <g:if test="${flash.message}">
    18             <div class="message">${flash.message}</div>
    19             </g:if>
     17            <g:render template="/shared/messages" />
     18
    2019            <filterpane:currentCriteria domainBean="Asset"
    2120                                    action="search"
  • trunk/grails-app/views/shared/_assetTree.gsp

    r278 r284  
    55        <img src="${resource(dir:'images/skin',file:'database_add.png')}" alt="Add" title="Add Sub Item"/>
    66    </g:link>
    7     <g:link params="['asset.id':assetInstance?.id]" action="copy">
     7    <g:link params="['assetToCopy.id':assetInstance?.id]" action="copy">
    88        <img src="${resource(dir:'images/skin',file:'page_copy.png')}" alt="Copy" title="Copy Asset"/>
    99    </g:link>
Note: See TracChangeset for help on using the changeset viewer.