Changeset 913 for trunk/grails-app/views/shared/_assetTreeCompact.gsp
- Timestamp:
- May 1, 2011, 12:46:31 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/features/grailsUpgrade merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/grails-app/views/shared/_assetTreeCompact.gsp
r798 r913 1 2 <%-- Fetch to prevent lazy initialization error. --%>3 <% assetInstance = Asset.read(assetInstance?.id)%>4 5 1 <div class="static_tree"> 6 ${assetInstance ?.encodeAsHTML()}2 ${assetInstance.encodeAsHTML()} 7 3 <div class="static_tree_compact"> 8 4 <ul> 9 <g:each var="assetSubItem1" in="${assetInstance ?.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">5 <g:each var="assetSubItem1" in="${assetInstance.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 10 6 <li> 11 ${assetSubItem1 ?.encodeAsHTML()}7 ${assetSubItem1.encodeAsHTML()} 12 8 </li> 13 9 … … 17 13 <g:each var="assetSubItem2" in="${assetSubItem1.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }"> 18 14 <li> 19 ${assetSubItem2 ?.encodeAsHTML()}15 ${assetSubItem2.encodeAsHTML()} 20 16 </li> 21 17 </g:each> <!--assetSubItem2-->
Note: See TracChangeset
for help on using the changeset viewer.