${document_attribute_name_list[i]} |
<#switch document_attribute_code_list[i]>
<#case "file">
#i18n{files2docs.modifyMapping.labelFile}
<#break>
<#case "image">
#i18n{files2docs.modifyMapping.labelImage}
<#break>
<#default>
<#if attribute.format?exists>${attribute.format}#if>
#switch>
|
<#if document_attribute_code_list[i] != "file" && document_attribute_code_list[i] != "image">
<#elseif attribute.id != -1>
#i18n{portal.util.labelEnabled}
<#elseif !id_mandatory_doc_attr_file_img??>
<#-- No mandatory document attribute type file/image, then display the button to change the assignment for attribute file/image -->
#if>
|
<#assign i = i + 1>
#if>
#list>
#if>