Changeset 370
- Timestamp:
- Feb 17, 2010, 10:46:57 PM (15 years ago)
- Location:
- trunk/grails-app/views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/views/assetDetailed/edit.gsp
r349 r370 124 124 <div class="buttons"> 125 125 <span class="button"><g:actionSubmit class="save" value="Update" /></span> 126 <span class="button"><g:actionSubmit class="cancel" value="Cancel" action="Show"/></span> 126 127 <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span> 127 128 </div> -
trunk/grails-app/views/assetDetailed/show.gsp
r349 r370 81 81 <ul> 82 82 <g:each var="m" in="${assetInstance.maintenanceActions}"> 83 <li><g:link controller="maintenanceActionDetailed" action=" edit" id="${m.id}">${m?.encodeAsHTML()}</g:link></li>83 <li><g:link controller="maintenanceActionDetailed" action="show" id="${m.id}">${m?.encodeAsHTML()}</g:link></li> 84 84 </g:each> 85 85 </ul> -
trunk/grails-app/views/shared/_assetTree.gsp
r304 r370 16 16 return false"> 17 17 </a> 18 <g:link controller="assetSubItemDetailed" action=" edit" id="${assetSubItem1.id}">${assetSubItem1?.encodeAsHTML()}</g:link>18 <g:link controller="assetSubItemDetailed" action="show" id="${assetSubItem1.id}">${assetSubItem1?.encodeAsHTML()}</g:link> 19 19 <g:link controller="assetSubItemDetailed" params="['parentItem.id':assetSubItem1?.id]" action="create"> 20 20 <img src="${resource(dir:'images/skin',file:'database_add.png')}" alt="Add" title="Add Sub Item" /> … … 29 29 <a href='' class="toggle"> 30 30 </a> 31 <g:link controller="assetSubItemDetailed" action=" edit" id="${assetSubItem2.id}">${assetSubItem2?.encodeAsHTML()}</g:link>31 <g:link controller="assetSubItemDetailed" action="show" id="${assetSubItem2.id}">${assetSubItem2?.encodeAsHTML()}</g:link> 32 32 <g:link controller="assetSubItemDetailed" params="['parentItem.id':assetSubItem2?.id]" action="create"> 33 33 <img src="${resource(dir:'images/skin',file:'database_add.png')}" alt="Add" title="Add Sub Item" /> … … 37 37 <g:each var="assetSubItem3" in="${assetSubItem2.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 38 38 <li> 39 <g:link controller="assetSubItemDetailed" action=" edit" id="${assetSubItem3.id}">${assetSubItem3?.encodeAsHTML()}</g:link>39 <g:link controller="assetSubItemDetailed" action="show" id="${assetSubItem3.id}">${assetSubItem3?.encodeAsHTML()}</g:link> 40 40 <g:link controller="assetSubItemDetailed" params="['parentItem.id':assetSubItem3?.id]" action="create"> 41 41 <img src="${resource(dir:'images/skin',file:'database_add.png')}" alt="Add" title="Add Sub Item" /> … … 44 44 <ul> 45 45 <g:each var="assetSubItem4" in="${assetSubItem3.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 46 <li><g:link controller="assetSubItemDetailed" action=" edit" id="${assetSubItem4.id}">${assetSubItem4?.encodeAsHTML()}</g:link></li>46 <li><g:link controller="assetSubItemDetailed" action="show" id="${assetSubItem4.id}">${assetSubItem4?.encodeAsHTML()}</g:link></li> 47 47 </g:each> <!--assetSubItem4--> 48 48 </ul>
Note: See TracChangeset
for help on using the changeset viewer.