Skip to content
Snippets Groups Projects

Resolve "Add export functionality to course book"

Merged permcu requested to merge 258-add-export-functionality-to-course-book into master
2 files
+ 21
30
Compare changes
  • Side-by-side
  • Inline
Files
2
<h4>{% trans "Abbreviations" %}</h4>
<h5>{% trans "General" %}</h5>
<ul class="collection">
<li class="collection-item">
<strong>(a)</strong> {% trans "Absent" %}
</li>
<li class="collection-item">
<strong>(b)</strong> {% trans "Late" %}
</li>
<li class="collection-item">
<strong>(u)</strong> {% trans "Unexcused" %}
</li>
<li class="collection-item">
<strong>(e)</strong> {% trans "Excused" %}
</li>
</ul>
{% if excuse_types %}
<h5>{% trans "Custom excuse types" %}</h5>
{% if absence_reasons %}
<h5>{% trans "Absence reasons" %}</h5>
<ul class="collection">
{% for excuse_type in excuse_types %}
<li class="collection-item">
<strong>({{ excuse_type.short_name }})</strong> {{ excuse_type.name }}
</li>
{% for absence_reason in absence_reasons %}
{% if absence_reason.count_as_absent %}
Please register or sign in to reply
<li class="collection-item">
<strong>({{ absence_reason.short_name }})</strong> {{ absence_reason.name }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
{% if excuse_types_not_absent %}
<h5>{% trans "Custom excuse types (not counted as absent)" %}</h5>
<h5>{% trans "Absence reasons (not counted as absent)" %}</h5>
<ul class="collection">
{% for excuse_type in excuse_types_not_absent %}
<li class="collection-item">
<strong>({{ excuse_type.short_name }})</strong> {{ excuse_type.name }}
</li>
{% for absence_reason in absence_reasons %}
{% if not absence_reason.count_as_absent %}
<li class="collection-item">
<strong>({{ absence_reason.short_name }})</strong> {{ absence_reason.name }}
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
Loading