{% comment %}
Links to the translated twins of this section (or, on the home page, of the
book): each language's twin PDF, and the English and twin side by side on
landscape sheets. Renders nothing when there is no twin this reader may have.
`variant` picks the setting: "rail" (the section rail's card), "bar" (the PDF
view's exits) or "home" (under the full-book link).
Context: translations — [{language, name, pdf_url, sbs_url}], from
views._translation_links; sbs_url is "" when the sheets are not on disk.
{% endcomment %}
{% if translations %}{% if variant == "bar" %}
{% include "parody_web/_icon.html" with icon="translate" %}Translations
Translations: {% for t in translations %}{{ t.name }} (PDF{% if t.sbs_url %} · side by side{% endif %}){% if not forloop.last %} · {% endif %}{% endfor %}
{% else %}Translations
{% for t in translations %}{{ t.name }}: PDF{% if t.sbs_url %} · side by side{% endif %} {% endfor %}{% endif %}{% endif %}