{%- if contributor.visibleAnnuaire is defined and contributor.visibleAnnuaire is not empty -%}
{%- if contributor.visibleAnnuaire == true -%}
{% set userId = contributor.id %}
{% set user = get_user_by_contact_id(userId) %}
{%- if user is not same as(false) and user is not empty -%}
<a href="/user/{{ contributor.id }}" class="cblue">
{{- contributor.fullname -}}
</a>
{%- else -%}
<span class="cblue">
{{- contributor.fullname -}}
</span>
{%- endif -%}
{%- endif -%}
{%- else -%}
<span class="cblue">
{{- contributor.fullname -}}
</span>
{%- endif -%}