{# Variables: - note - lead - permissions #} {% set icon = 'fa-file-text' %} {% if 'email' == note.type %} {% set icon = 'fa-send' %} {% elseif 'call' == note.type %} {% set icon = 'fa-phone' %} {% elseif 'meeting' == note.type %} {% set icon = 'fa-group' %} {% endif %}