{% block opengraph_title %}{% trans "Book Sale" %} —
{{ block.super }}{% endblock %}
{% block body %}
<h1>{% trans "Book Sale" %}</h1>
<p>
{% blocktrans trimmed %}
Thalia's book sale goes through Studystore. You can find the personalized webshop <ahref="https://betabooks.itdepartment.nl/en"target="_blank">here</a>.
As a member of Thalia you receive a 15% discount on study books ordered at this webshop.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
If you cannot find a certain book or you find another error, please contact the board at <ahref="mailto:books@thalia.nu">books@thalia.nu</a>.
{% regroup items|dictsortreversed:"year" by year as year_list %}
{% if year_list|length == 0 %}
<p><i>{% blocktrans %}Thalia does not have any documents for this course, unfortunately. Are you in possession of exams or summaries for this course? Then let us know or add them to the catalog using the submission page!{% endblocktrans %}</i></p>
<divclass="col-12 col-md-8">
{% if items|length == 0 %}
<pclass="text-center">
<i>
{% blocktrans trimmed %}
Thalia does not have any documents for this
course, unfortunately. Are you in
possession of
exams or summaries for this course? Then
let us
know or add them to the catalog using the
submission page!
{% endblocktrans %}
</i>
</p>
{% else %}
<ulclass="toggles">
{% for year in year_list %}
{% with next_year=year.grouper|add:1|stringformat:"s" %}
{% with indicator=year.grouper|stringformat:"s"|add:"-"|add:next_year %}
<i>{% blocktrans with course_url=course_item.grouper.get_absolute_url course_name=course_item.grouper %}These documents were collected for <ahref="{{ course_url }}">{{ course_name }}</a>, a predecessor of this course.{% endblocktrans %}</i>
<div
class="collapse"
id="year-{{ year }}"
>
<divclass="card-body">
{% if data.legacy %}
<div
class="alert alert-warning">
{% blocktrans trimmed with course_url=data.legacy.get_absolute_url course_name=data.legacy.name %}
These documents were collected for <ahref="{{ course_url }}">{{ course_name }}</a>, a