com.liferay.journal.web.portlet.template.dependencies.image.ftl Maven / Gradle / Ivy
<#include "init.ftl">
<#assign
variableAltName = name + ".getAttribute(\"alt\")"
variableFieldEntryId = name + ".getAttribute(\"fileEntryId\")"
/>
<#if repeatable>
<#assign
variableAltName = "cur_" + variableAltName
variableFieldEntryId = "cur_" + variableFieldEntryId
/>
<#if stringUtil.equals(language, "ftl")>
${r"<#if"} ${variableName}?? && ${variableName} != "">
${r""}
<#else>
#if ($${variableName} && $${variableName} != "")
#end