{% extends "base.html" %} {% load i18n %} {% load juntagrico.common %} {% load juntagrico.config %} {% block page_title %}

{{ job.type.get_name }} {% if edit_url.strip %} {% endif %}

{% endblock %} {% block content %} {% vocabulary "assignment_pl" as v_assignment_pl %}
{% trans "Zeitpunkt" %}:
{{ job.time |date:"l, d.m.Y, H:i" }} - {{ job.end_time|date:"H:i" }}
{% if job_is_in_past %} (vor {{ job.end_time|timesince }}) {% elif job_is_running %} (seit {{ job.time|timesince }}) {% else %} (in {{ job.time|timeuntil }}) {% endif %}

{% if job.free_slots > -1 %}
{% trans "Status" %}:
{% spaceless %} {% for i in slotrange %} {% if i < number_of_participants %} {% else %} {% endif %} {% endfor %} {% endspaceless %}

{% endif %} {% if job.multiplier > 1 %}
{% vocabulary "assignment_pl" %}:
{% blocktrans trimmed with jm=job.multiplier %} Du erhälst für diesen Job das {{ jm }} fachen an {{ v_assignment_pl }} gutgeschrieben. {% endblocktrans %}

{% elif job.multiplier == 0 %}
{% vocabulary "assignment_pl" %}:
{% blocktrans trimmed with jm=job.multiplier %} Du erhältst für diesen Event keine {{ v_assignment_pl }} gutgeschrieben. {% endblocktrans %}

{% endif %} {% if job.extras.strip %}
{% trans "Extras" %}:
{% for extra in job.empty_per_job_extras %} {{ extra.extra_type.display_empty|safe }} {% endfor %} {% for extra in job.full_per_job_extras %} {{ extra.extra_type.display_full|safe }} {% endfor %}

{% endif %}
{% trans "Ort" %}:
{{ job.type.location }} ( Karte )

{% trans "Beschreibung" %}:
{{ job.type.description|richtext|safe }}
{{ job.additional_description|richtext|safe }}

{% if can_contact %}
{% trans "Kontaktieren" %}:
{% csrf_token %}

{% endif %}
{% trans "Dabei sind" %}:
{% if number_of_participants == 0 and not job_fully_booked %} {% trans "Noch niemand" %} 🥺 {% else %} {% endif %}

{% if can_subscribe %}
{% trans "Ich trage mich ein" %}:
{% csrf_token %} {% if allowed_additional_participants|length > 1 %}

{% else %} {% endif %} {% for extra in job.empty_per_job_extras %} {{ extra.extra_type.name }}
{% endfor %} {% for extra in job.per_member_extras %} {{ extra.extra_type.name }}
{% endfor %}
{% endif %} {% endblock %} {% block scripts %} {% endblock %}