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

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

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

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