<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:p="http://primefaces.org/ui">

    <!--
        Composant colonne Logo réutilisable - DRY/WOU
        Usage :
        <ui:include src="/templates/components/columns/column-logo.xhtml">
            <ui:param name="logo" value="#{item.logo}"/>
            <ui:param name="size" value="40"/>
            <ui:param name="width" value="80px"/>
        </ui:include>
    -->

    <p:column headerText="Logo" 
              styleClass="text-center" 
              style="width: #{empty width ? '80px' : width};">
        <ui:include src="/templates/components/layout/organisation-logo.xhtml">
            <ui:param name="logo" value="#{logo}"/>
            <ui:param name="size" value="#{empty size ? '40' : size}"/>
        </ui:include>
    </p:column>
</ui:composition>

