#set( $apphome = "/${order.applicationid}")
[[Hello]],
$userManager.getScreenName( $order.userid ) [[has shared some assets with you]]. #if($order.sharenote) [[Below is a note that was attached]]:
$order.sharenote
[[Please review the assets at this link]]: $context.siteRoot$home$apphome/views/modules/asset/activity/email/emailedassets.html?orderid=$order.id
#if( $order.expireson) [[Access to these files will expire on ]] #if( $expiresondate ) ##Use this since events do not have a locale $expiresformat.format($expiresondate) #else $context.getDateTime($order.expireson) #end #end#set($orderitems = $mediaarchive.getSearcher("orderitem").query().exact("orderid", $order.id).search())
[[Below is a list of assets available at the link above]]:
| [[Title]] | [[File Name]] | [[Asset Type]] | [[Format]] |
|---|---|---|---|
| $!asset.assettitle | $!asset.name | $!searcherManager.getData($catalogid,"assettype",$asset.assettype).getName($context.getLocale()) | #set($val=$context.getRequestParameter("${item.id}.presetid.value")) #if( !$val) #set( $val = $item.get("presetid") ) #end #if( $val ) #set($preset = $searcherManager.getData($catalogid, "convertpreset",$val )) $!preset.getName($context.getLocale()) #else [[Online Preview]] #end |