#if( $history && $history.size() > 0 )
#set( $details = $historySearcher.getDetailsForView("usagehistory/asset", $user) )
#foreach( $detail in $details)
#if($detail.id == "description")
| Usage History: |
#else
$detail.name |
#end
#end
#foreach( $hit in $history )
#foreach( $detail in $details )
#if($detail.id == "description")
| $!hit.get($detail.id) |
#elseif($detail.id == "date")
$context.getDateTime($history.toDate($hit.date)) |
#else
$!hit.get($detail.id) |
#end
#end
#end
#else
No usage history.
#end