diff --git a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig index e3280d755..9ffdbfae6 100644 --- a/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig +++ b/src/Bundle/ChillPersonBundle/Resources/views/Entity/person.html.twig @@ -146,22 +146,27 @@ 'with_valid_from': false }) }} {% endif %} -
  • - {% if person.mobilenumber %} - + {% if person.phonenumber is not null %} +
  • + + + {{ person.phonenumber|chill_format_phonenumber }} + +
  • + {% endif %} + {% if person.mobilenumber is not null %} +
  • + {{ person.mobilenumber|chill_format_phonenumber }} - {% else %} +
  • + {% endif %} + {% if person.phonenumber is null and person.mobilenumber is null %} +
  • - {% if person.phonenumber %} - - {{ person.phonenumber|chill_format_phonenumber }} - - {% else %} - {{ 'No data given'|trans }} - {% endif %} - {% endif %} -
  • + {{ 'No data given'|trans }} + + {% endif %} {% if options['addCenter'] and person|chill_resolve_center|length > 0 %}