added ui niceties to content adders in asset manager, and exposed page.rank to nav templates

This commit is contained in:
JT Smith 2005-04-20 18:33:53 +00:00
parent b6ddd2dd78
commit e513526f46
5 changed files with 43 additions and 4 deletions

View file

@ -322,6 +322,7 @@ sub view {
$pageData->{"page.".$property} = $asset->get($property);
}
# build nav variables
$pageData->{"page.rank"} = $asset->getRank;
$pageData->{"page.absDepth"} = $asset->getLineageLength;
$pageData->{"page.relDepth"} = $asset->getLineageLength - $start->getLineageLength;
$pageData->{"page.isSystem"} = $asset->get("isSystem");