<#function isModerated moderated_elements_list element> <#if moderated_elements_list?? && moderated_elements_list?has_content && element??> <#list moderated_elements_list as moderated_element> <#if moderated_element.portletId == element.portletId && moderated_element.documentId == element.documentId> <#return true> <#return false> <@box> <@boxHeader title='#i18n{whatsnew.modify_portlet_whatsnew.labelListModeratedDocuments}' /> <@boxBody> <#if elements_list?has_content> <@table condensed=false headBody=true> <@tr> <@th>#i18n{whatsnew.modify_portlet_whatsnew.columnName} <@th>#i18n{whatsnew.modify_portlet_whatsnew.columnDescription} <@th>#i18n{whatsnew.modify_portlet_whatsnew.columnType} <@th>#i18n{whatsnew.modify_portlet_whatsnew.columnAssociatedPortlet} <@th>#i18n{whatsnew.modify_portlet_whatsnew.columnDateUpdate} <@tableHeadBodySeparator /> <#list elements_list as element> <@tr> <@td><@checkBox orientation='switch' id='moderated_document_${element.portletId?c}_${element.documentId?c}' name='moderated_document_${element.portletId?c}_${element.documentId?c}' value='1' labelKey='${element.title!}' checked=isModerated( moderated_elements_list, element ) /> <@td>${element.description!} <@td>${element.type!} <@td>${element.associatedPortletName!} <@td>${element.dateUpdate?date} <#else> <@empty title='#i18n{portal.util.labelNoItem}' iconName='file-off' subtitle=' ' />