{% load humanize %}
{{ note.author }}
{% if note.author == user or note.scope in writable_scopes %}
{% if user.is_staff and perms.cri_models.criusernote_view %} {% endif %}
{% endif %}
{% if note.event_title or note.event_kind or note.event_date or note.external_ref %}
{% if note.external_ref %} {{ note.get_external_ref }} {% endif %} {% if note.event_kind %} {{ note.event_kind }} {% endif %} {{ note.event_title }} {% if note.event_date %} {{ note.event_date }} {% endif %}
{% endif %} {{ note.content|safe }}