{% if reg.subject.course %}
{% for history in reg.course_history.all %}
{% for entry in history.journal_entries.all %}
{% if participant.id in entry.all_participants_idset %}✓{% else %}✗{% endif %}
{% endfor %}
{% endfor %}
{% elif reg.subject.event %}
{% for entry in reg.subject.journal_entries.all %}
{% if participant.id in entry.all_participants_idset %}✓{% else %}✗{% endif %}
{% endfor %}
{% endif %}