portal.default.redbox.menus.home-new-items.vm Maven / Gradle / Ivy
#if(!$self.latest.isEmpty())
#set($menuTitle = "Most recent records")
#parseTemplate("wrapping/menu-open.vm")
#foreach($item in $self.latest)
#set($itemId = $item.getFirst('id'))
#set($itemTitle = $item.getFirst('dc_title'))
#set($owner = $item.getFirst('owner'))
#set($wfStep = $item.getFirst('workflow_step'))
#set($wfLabel = $item.getFirst('workflow_step_label'))
-
#if("$!wfStep" != "" && $wfStep != "" && $wfStep != "live")
#end
#if("$!owner" != "" && $owner == $page.authentication.get_username())
#end
$itemTitle
#end
#parseTemplate("wrapping/info-box-close.vm")
#end