#foreach( $viewpath in $views.keySet() )
#set( $target = $views.get($viewpath) )
#set($permissionvalue = $context.getPageValue("canview-${target.getId()}"))
#if("$!permissionvalue" == "" || $permissionvalue == true)
#if( !$target.rendertable )
$context.putPageValue("origURL", "$apphome/assets/${asset.sourcePath}.html")
$context.putPageValue("data",$asset)
$context.putPageValue("searcher",$mediaarchive.getAssetSearcher() )
$context.putPageValue("view",$viewpath)
#set($collectionid = $context.getRequestParameter("collectionid"))
$context.getText($target.toString())
#if($caneditasset)
[[Edit]]
#end
$context.putPageValue("clearfilters","true")
$pages.include("/$applicationid/components/xml/detailviewer.html", $context)
#end
#end
#set($permissionvalue = "")
#end