portal.default.redbox.report.reportResult.vm Maven / Gradle / Ivy
#if($self.getErrorMsg()=="")
#set($pageTitle = "Report result")
Report results
#if($self.getRowsFound() == 0)
No results found
#else
Rows found:
$self.getRowsFound()
(below is a preview of up to 10 results)
Record Title
Type
Workflow
Date Created
Creators
#set($i = 0)
#foreach($item in $self.getProcessedResultsList())
#set($oid = $item.get("id"))
#set($i = $i + 1)
#if($i < 11)
$item.get("dc_title")
#if($item.get('dc:type.skos:prefLabel')) $item.get('dc:type.skos:prefLabel') #end
$item.get("workflow_step_label")
#if($item.get('dc:created')) $item.get('dc:created') #end
#set($creatorList = $item.getList("reporting_dc:creator.foaf:Person"))
#if ($creatorList.isEmpty())
#else
#foreach($value in $creatorList)
-
$self.escapeHtml($value)
#end
#end
#end
#end
#end
#else
#set($pageTitle = "Reporting error")
Reporting error
$self.getErrorMsg()
#end