<#macro printrow node iconClass > <#if node.url?? && node.name??>
<#if node.pictureUrl??>
${node.pictureTitle}
<#if node.pictureUrl??>
<#else>
<#if !node.isAlive && showLifeStatus> ${node.name} <#if extraAttrRodokmen> <#list node.extraAttr as attr> <#if attr??> <#if !oneRowAttrNameRodokmen?seq_contains(extraAttrNameRodokmen[attr?index])>
${extraAttrNameRodokmen[attr?index]}: ${attr}
<#-- Pro atributy, které chceme na jednom řádku --> <#if extraAttrRodokmen> <#if oneRowAttrNameRodokmen?size != 0>
<#list node.extraAttr as attr> <#if attr??> <#if oneRowAttrNameRodokmen?seq_contains(extraAttrNameRodokmen[attr?index])> ${extraAttrNameRodokmen[attr?index]}: ${attr}
<#if heathResults>
<#if node.healthResults??> <#list node.healthResults as healthResults> <#if healthResults??> ${healthResults}
<#if node.pictureUrl??>
<#else>
<#else> ${node.name!'Nevyplněno'} <#macro printTree father mother> <#assign parents = [father, mother]> <#assign classes = ['second-degree', 'third-degree', 'forth-degree']>
<@printrow father 'fa-mars' />
<@printrow mother 'fa-venus' />
<#list classes as nodeClass>
<#assign child = []> <#list parents as parent>
<@printrow parent.otec 'fa-mars' />
<@printrow parent.matka 'fa-venus' />
<#assign child = child + [parent.otec, parent.matka]> <#assign parents = child>
<#if wright??>
<@printTree otec matka/>