comparison view/site/library/@Collection.tt @ 7:fa7a99c2d079

dox library templates and schemas
author sergey
date Wed, 14 May 2014 01:22:21 +0400
parents f1ce08199a08
children 7d92a42f8e18
comparison
equal deleted inserted replaced
6:2d1a0a75fc49 7:fa7a99c2d079
1 [%
2 document.layout = 'library';
3 compounds = resource.GetCompoundsLocation();
4 IF model.indexDocument;
5 display_model(
6 model.indexDocument,
7 args = {
8 compounds = compounds.toString(),
9 members = resource.GetMembersLocation().toString()
10 }
11 );
12 ELSE;
13 %]
14 <h1>$model.description</h1>
15 <ul>
16 [% FOREACH item IN model.GetPackages() %]
17 <li><a href="[% compounds.Child(item.doxId) %]">$item.name</a></li>
18 [% END %]
19 </ul>
20 [% END %]