<#list document_list as selectedDocument> <#assign document = selectedDocument.document> <#assign document_index = selectedDocument_index>
${document.title}
${document.title}
<#list media_attributes as attribute> <#assign field_name = attribute.code> <#if attribute.typeId = 0>
<#elseif attribute.typeId = 3> <#if document.title?has_content >
<#elseif attribute.typeId = 4> <#if document.summary?has_content >
<#else> - <#elseif selectedDocument.attributesFromMapping[attribute.code]?has_content> <#assign doctype_code = selectedDocument.attributesFromMapping[attribute.code]> <#if attribute.typeId = 1> <#if document.getAttribute(doctype_code)?exists && document.getAttribute(doctype_code).textValue?has_content>
<#elseif attribute.typeId = 2> <#if document.getAttribute(doctype_code)?has_content > <#assign attributeId = document.getAttribute(doctype_code).id > <#assign url = "document?id=" + document.id + "&id_attribute=" + attributeId >
${url}