view view/site/library/@Collection.tt @ 14:d997ff96acf1

sync
author sergey
date Mon, 19 May 2014 18:34:16 +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 %]