annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
1 [%
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
2 document.layout = 'library';
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
3 compounds = resource.GetCompoundsLocation();
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
4 IF model.indexDocument;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
5 display_model(
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
6 model.indexDocument,
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
7 args = {
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
8 compounds = compounds.toString(),
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
9 members = resource.GetMembersLocation().toString()
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
10 }
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
11 );
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
12 ELSE;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
13 %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
14 <h1>$model.description</h1>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
15 <ul>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
16 [% FOREACH item IN model.GetPackages() %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
17 <li><a href="[% compounds.Child(item.doxId) %]">$item.name</a></li>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
18 [% END %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
19 </ul>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
20 [% END %]