templates/users/logic/isUserInAnnuaire.html.twig line 1

Open in your IDE?
  1. {% if contributor.visibleAnnuaire is defined and contributor.visibleAnnuaire is not empty %}
  2.     {% if contributor.visibleAnnuaire == true %}
  3.         <a href="/user/{{ contributor.id }}" class="nodeco diblock initials cwhite">
  4.             <span class="diflex jcc aic fs12 w100 h100" title="{{ contributor.firstName }} {{ contributor.lastName }}">
  5.                 {{ contributor.lastName|first|upper }}
  6.                 {{ contributor.firstName|first|upper }}
  7.             </span>
  8.         </a>
  9.     {% else %}
  10.         <span class="diflex initials cwhite jcc aic fs12" title="{{ contributor.firstName }} {{ contributor.lastName }}">
  11.             {{ contributor.lastName|first|upper }}
  12.             {{ contributor.firstName|first|upper }}
  13.         </span>
  14.     {% endif %}
  15. {% else %}
  16.     {% if contributor is defined and contributor is not null %}
  17.         <span class="diflex initials cwhite jcc aic fs12" title="{{ contributor.firstName }} {{ contributor.lastName }}">
  18.             {{ contributor.lastName|first|upper }}
  19.             {{ contributor.firstName|first|upper }}
  20.         </span>
  21.     {% endif %}
  22. {% endif %}