source: trunk/grails-app/views/shared/_assetTreeCompact.gsp @ 929

Last change on this file since 929 was 913, checked in by gav, 14 years ago

Svn merge -r875:r911 branches/features/grailsUpgrade/ into trunk/.

File size: 785 bytes
RevLine 
[791]1<div class="static_tree">
[913]2    ${assetInstance.encodeAsHTML()}
[791]3    <div class="static_tree_compact">
4        <ul>
[913]5        <g:each var="assetSubItem1" in="${assetInstance.assetSubItems?.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">
[791]6            <li>
[913]7                ${assetSubItem1.encodeAsHTML()}
[791]8            </li>
[780]9
[791]10            <div id="treelevel1">
[780]11
[791]12                <ul>
13                <g:each var="assetSubItem2" in="${assetSubItem1.subItems.sort { p1, p2 -> p1.name.compareToIgnoreCase(p2.name) } }">
14                    <li>
[913]15                        ${assetSubItem2.encodeAsHTML()}
[791]16                    </li>
17                </g:each> <!--assetSubItem2-->
18                </ul>
[780]19
[791]20            </div>
[780]21
[791]22        </g:each> <!--assetSubItem1-->
23        </ul>
24    </div>
[787]25</div>
Note: See TracBrowser for help on using the repository browser.