{% import 'OroUIBundle::macros.html.twig' as ui %}
{% import 'OroEntityConfigBundle::macros.html.twig' as entityConfig %}
{% import 'OroActivityBundle::macros.html.twig' as AC %}
{# Display contexts targets in the activity list item view #}
{% if renderContexts is defined and renderContexts %}
{{ ui.renderHtmlProperty('oro.call.phone_number.label'|trans, ui.renderPhoneWithActions(entity.phoneNumber, entity)) }}
{{ ui.renderProperty('oro.call.direction.label'|trans, entity.direction ? entity.direction.label : null) }}
{# Don't use time formatting here because it's a time interval #}
{{ ui.renderProperty('oro.call.duration.label'|trans, entity.duration|oro_format_duration({default: true})) }}