{% load i18n static leprikon_tags %} {% trans 'Journal' %}: {{ journal }} {% if not admin %}
{% endif %} {% if messages %}
{% for message in messages %} {% endfor %}
{% endif %}

{% trans 'Journal' %}: {{ journal }}

{% for period in journal.all_journal_periods %} {% with period.all_journal_entries|length|add:3 as columns_count %}

{% trans 'Attendance' %}{% if period.period %} - {{ period.period.name }}{% endif %}

{% for entry in period.all_journal_entries %} {% endfor %} {% if not admin %} {% for presence_record in period.get_leader_presences %} {% for p in presence_record.presences %} {% endfor %} {% endfor %} {% for presence_record in period.get_alternate_presences %} {% for p in presence_record.presences %} {% endfor %} {% endfor %} {% for presence_record in period.get_participant_presences %} {% for p in presence_record.presences %} {% endfor %} {% endfor %}
{% trans 'No.' %} {% trans 'Name' context 'person' %}
{% if not admin %} {% if not entry.affects_submitted_timesheets %} {% endif %} {% endif %} {{ entry.date }}
{% endif %}
{% trans 'Leaders' %}
{{ forloop.counter }}. {{ presence_record.person }}{% if p %}{% endif %} 
{{ forloop.counter }}. {{ presence_record.person }}{% if p %}{% endif %} 
{% trans 'Participants' %}
{{ forloop.counter }}. {{ presence_record.person }}{% if p %}✗{% endif %}
{% endwith %} {% endfor %} {% for period in journal.all_journal_periods %}

{% trans 'Agenda' %}{% if period.period %} - {{ period.period.name }}{% endif %}

{% for entry in period.all_journal_entries %} {% endfor %} {% if not admin %} {% endif %}
{% trans 'No.' %} {% trans 'Date' %} {% trans 'Time' %} {% trans 'Number of hours' %} {% trans 'Number of leaders' %} {% trans 'Number of participants' %} {% trans 'Session agenda' %}
{{ forloop.counter }}. {{ entry.date }} {% if entry.duration %}{{ entry.start }}{% else %}{% trans 'skipped' %}{% endif %} {% if entry.duration %}{{ entry.duration }}{% else %}{% trans 'skipped' %}{% endif %} {{ entry.all_leader_entries|length }} {{ entry.all_participants|length }} {% if not admin %} {% trans 'edit' %} {% if not entry.affects_submitted_timesheets %} {% trans 'delete' %} {% endif %} {% endif %} {% if entry.all_participants_instructed %}

{% trans 'participants instructed about safety and internal rules' as participants_instructed_label %} {{ participants_instructed_label | first_upper }}: {{ entry.all_participants_instructed|comma_separated }}

{% endif %} {{ entry.agenda | safe }}
{% trans 'add entry' %}
{% endfor %}

{% trans 'Risks' %} {% if not admin %} {% trans 'edit' %} {% endif %}

{{ journal.risks | safe }}

{% trans 'Plan for the activity' %} {% if not admin %} {% trans 'edit' %} {% endif %}

{{ journal.plan | safe }}

{% trans 'Evaluation of the activity' %} {% if not admin %} {% trans 'edit' %} {% endif %}

{{ journal.evaluation | safe }}