{% extends 'Front/Scholar/Card/teacher.html.twig' %}{% block content_header_teacher %}{% set countAnswers = teacher|getCountAnswers(channel) %}{% if teacher.roleDescription is not null and countAnswers > 0 %}<p>{{ teacher.roleDescription }} ยท {{ 'teacher.answers'|trans({'%count%': countAnswers}) }}</p>{% elseif teacher.roleDescription is not null and countAnswers == 0 %}<p>{{ teacher.roleDescription }}</p>{% elseif countAnswers > 0 %}<p>{{ 'teacher.answers'|trans({'%count%': countAnswers}) }}</p>{% endif %}{% endblock %}