|
$context.putPageValue("asset", $asset)
$context.putPageValue("item", $item)
$context.setRequestParameter("sourcepath", $sourcepath)
#set( $assetpath = $mediaarchive.getLinkToAssetViewer($sourcepath) )
#set( $thumbend = $mediaarchive.getLinkToSize($sourcepath, "thumb") )
#set( $tsize = "$home$thumbend" )
#if( $parenthits )
#set( $rootid = $parenthits.sessionId )
#else
#set( $rootid = $hits.sessionId )
#end
##set( $click = "$home$apphome/views/modules/asset/editor/index.html?assetid=${asset.id}&hitssessionid=$rootid" )
#set( $type = $mediaarchive.getMediaRenderType($asset.fileFormat))
#if(!$type)
#set ($type = "none")
#end
$context.putPageValue("cell", $asset)
$context.putPageValue("showdetails", "false")
$context.putPageValue("thumbsize", "crop")
$pages.include("${apphome}/components/results/thumbnails/${type}.html", $context)
|
$asset.name
|
$context.putPageValue("data", $item)
$context.putPageValue("view", "order/downloaditem")
$pages.include("/${applicationid}/components/xml/detaileditor.html?detailsreadonly=true", $context)
#set( $publishqueueid = $item.get("publishqueueid") )
#if( $publishqueueid)
#set($publishqueue = $searcherManager.getData($catalogid, "publishqueue",$publishqueueid))
#if( "complete" == $publishqueue.get("status") )
#if( $order.ordertype == "download" )
#set($destination = $searcherManager.getData($catalogid, "publishdestination",$publishqueue.publishdestination))
#if( $destination.publishtype == "aspera")
#if( $item.status == "complete" || $item.status == "delivered" )
#end
#end
Export Path: $!{destination.server}$!{destination.url}$!{item.filename}
#end
#end
#end
|