#set( $attachmentroot = "$apphome/views/modules/asset/editor/attachments" ) #if( $file ) #set( $parentsourcepath = "${file.parentsourcepath}" ) #set( $name = $file.name) #end
$context.putPageValue("data",$file) $context.putPageValue("searcher",$mediaarchive.getAssetSearcher() ) #if( $asset.assettype && $archive.viewExists("asset/assettype/$asset.assettype/general") ) #set ($view = "asset/assettype/$asset.assettype/general") #else #set ($view = "asset/assettype/default/general") #end $context.putPageValue("view",$view) $context.putPageValue("detailviewercolumns",1) $pages.include("/$applicationid/components/xml/detailviewer.html", $context) #if ( $file.isfolder != "false" ) #else #end #set( $editPath = "/WEB-INF/data/$catalogid/originals/$parentsourcepath/${file.name}" ) $pages.include("$attachmentroot/revisionslink.html?editPath=$editPath&parentsourcepath=$parentsourcepath", $context) #if( $asset.assettype && $archive.viewExists("asset/assettype/$asset.assettype/fileproperties") ) #set ($view = "asset/assettype/$asset.assettype/fileproperties") #else #set ($view = "asset/assettype/default/fileproperties") #end $context.putPageValue("view",$view) $pages.include("/$applicationid/components/xml/detailviewer.html", $context)