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

sync
author sergey
date Tue, 20 May 2014 01:28:48 +0400
parents 7d92a42f8e18
children
line wrap: on
line source

[%
	document.layout = 'library';
	compounds = resource.GetCompoundsLocation();
 	IF model.indexDocument;
 		args = {
			compounds = compounds.toString(),
			members = resource.GetMembersLocation().toString()
		}
		T = import('Benzin::Doxygen::DisplayTransform');
		T.instance.DisplayCompound(model.indexDocument, args );
	ELSE;
%]
	<h1>$model.description</h1>
	<ul>
	[% FOREACH item IN model.GetPackages() %]
		<li><a href="[% compounds.Child(item.doxId) %]">$item.name</a></li>
	[% END %]
	</ul>
[% END %]