annotate view/site/library/@Collection.tt @ 16:e69c970c3ddd default tip

sync
author sergey
date Tue, 20 May 2014 01:28:48 +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 %]