{def $capabilities = fetch( 'content', 'list', hash( 'parent_node_id', $current_node.node_id, 'class_filter_type', include, 'class_filter_array', array('product_sheet_capability'), 'sort_by', $current_node.sort_array, ))} {* *} {foreach $capabilities as $key => $capability} {def $features = fetch( 'content', 'list', hash( 'parent_node_id', $capability.node_id, 'class_filter_type', include, 'class_filter_array', array('product_sheet_feature'), 'sort_by', $capability.sort_array, ))}

{if $capability.data_map.icon.has_content} {attribute_view_gui attribute=$capability.data_map.icon image_class=original} {/if} {$capability.name}

{if ne($key, 0)} {'Back to top'|i18n('nuxeo_design/product_parts/capabilities')} {/if} {foreach $features as $feature}

{$feature.name|wash}

{if $feature.data_map.illustration.has_content}
{attribute_view_gui attribute=$feature.data_map.illustration image_class=partners}
{/if} {attribute_view_gui attribute=$feature.data_map.description} {if $feature.data_map.illustration.has_content}
{/if}
{if $feature.data_map.related_video.has_content}
{/if} {/if} {if $feature.data_map.related_gallery.has_content} {if $feature.data_map.related_video.has_content|not}
{/if} {if $feature.data_map.related_gallery.has_content|not} {if $feature.data_map.related_video.has_content|not}
{/if} {/if}
{/foreach} {/foreach}