{# 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 %}
  • {% if permissions['edit'] %} {% endif %} {% if permissions['delete'] %} {% endif %}
    {{ note.text|purify }}
    {{ dateToFullConcat(note.dateTime) }} {{ note.createdByUser }}