annotate view/site/library/@Collection.tt @ 9:3efa63d911d4

sync
author sergey
date Wed, 14 May 2014 17:29:04 +0400
parents 7d92a42f8e18
children
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;
8
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
5 args = {
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
6 compounds = compounds.toString(),
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
7 members = resource.GetMembersLocation().toString()
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
8 }
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
9 T = import('Benzin::Doxygen::DisplayTransform');
7d92a42f8e18 improved doxygen library
sergey
parents: 7
diff changeset
10 T.instance.DisplayCompound(model.indexDocument, args );
7
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
11 ELSE;
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
12 %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
13 <h1>$model.description</h1>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
14 <ul>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
15 [% FOREACH item IN model.GetPackages() %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
16 <li><a href="[% compounds.Child(item.doxId) %]">$item.name</a></li>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
17 [% END %]
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
18 </ul>
fa7a99c2d079 dox library templates and schemas
sergey
parents: 1
diff changeset
19 [% END %]