{% extends "base.html" %} {% load i18n %} {% load config %} {% block page_title %} {% vocabulary "subscription" as v_subscription %}

{% blocktrans %}{{ v_subscription }} Übersicht{% endblocktrans %}

{% endblock %} {% block content %} {% config "enable_shares" as c_enable_shares %} {% vocabulary "subscription" as v_subscription %} {% vocabulary "share_pl" as v_share_pl %} {% vocabulary "co_member_pl" as v_co_member_pl %} {% vocabulary "depot" as v_depot %} {% if future_subscription %}
{% trans "Du bist auf der Warteliste" %}
{% trans "Mehr Infos dazu findest du hier" %}
{% elif can_order %}
{% blocktrans %}Du bist entweder kein/e {{ v_subscription }}-BezieherIn oder hast gekündigt.{% endblocktrans %}
{% blocktrans %}{{ v_subscription }} (wieder) neu beziehen?{% endblocktrans %} {% trans "Melde dich hier an" %}: {% blocktrans %}{{ v_subscription }} erstellen{% endblocktrans %}
{% endif %} {% if no_subscription %} {% if c_enable_shares %}
{% vocabulary "share_pl" %}
{{ shares }} {% if shares_unpaid > 0 %} ({% blocktrans %}davon {{ shares_unpaid }} noch nicht bezahlt{% endblocktrans %}) {% endif %}
{% blocktrans %}Bestelle mehr {{ v_share_pl }} hier{% endblocktrans %}
{% endif %} {% else %}
{% blocktrans %}{{ v_subscription }}grösse{% endblocktrans %}
{{ subscription.size_name|safe }}
{% trans "Status" %}
{% if subscription.state == 'active' %} {% trans "aktiv" %} {% elif subscription.state == 'canceled' %} {% trans "gekündigt" %}, {% blocktrans with ed=end_date|date:"d.m.Y" %}wird am {{ ed }} deaktiviert{% endblocktrans %}. {% elif subscription.state == 'waiting' %} {% trans "Auf der Warteliste" %} {% elif subscription.state == 'inactive' %} {% trans "deaktiviert" %} {% endif %}
{% if c_enable_shares %}
{% vocabulary "share_pl" %}
{{ shares }} {% if shares_unpaid > 0 %} ({% blocktrans %}davon {{ shares_unpaid }} noch nicht bezahlt{% endblocktrans %}) {% endif %}
{% blocktrans %}Bestelle mehr {{ v_share_pl }} hier{% endblocktrans %}

{% blocktrans %}{{ v_share_pl }} von {{ v_co_member_pl }}{% endblocktrans %}:
{% endif %}
{% blocktrans %}{{ v_subscription }} geteilt mit{% endblocktrans %}
{% if co_members|length > 0 %} {% if co_members|length > 1 %} {% else %} {% for sharee in co_members %} {{ sharee.first_name }} {{ sharee.last_name }} {% endfor %}
{% endif %} {% else %} {% blocktrans %}Du hast noch keine {{ v_co_member_pl }} eingetragen.{% endblocktrans %}
{% endif %} {% if primary %} {% blocktrans %}Hier {{ v_co_member_pl }} eintragen{% endblocktrans %} {% else %} {% blocktrans trimmed %} Nur Haupt-{{ v_subscription }}-BeziehierIn kann weitere {{ v_co_member_pl }} hinzufügen. {% endblocktrans %} {% endif %}
{% vocabulary "depot" %}
{{ subscription.depot.name }} {% blocktrans %}Weitere Infos zu/r/m {{ v_depot }}{% endblocktrans %}
{% if has_extra_subscriptions %}
{% trans "Zusatzabos" %}
{% if subscription.extra_subscriptions|length == 0 %} {% trans "Keine Zusatzabos" %} {% else %} {% endif %}
{% if subscription.extrasubscriptions_changed %}
{% trans "Neue Zusatzabos" %}
({% blocktrans trimmed with nes=next_extra_subscription_date|date:"d.m.Y" %} Die Änderungen treten voraussichtlich am {{ nes }} in Kraft {% endblocktrans %}) {% if not subscription.future_extra_subscriptions %}
{% trans "Keine Zusatzabos" %} {% else %} {% endif %}
{% endif %} {% endif %} {% if subscription.types_changed %}
{% blocktrans %}Neue {{ v_subscription }}-Grösse{% endblocktrans %}
({% blocktrans trimmed with nes=next_extra_subscription_date|date:"d.m.Y" %} Die Änderung tritt voraussichtlich am {{ nes }} in Kraft {% endblocktrans %})
{{ subscription.future_size_name }}
{% endif %} {% for sub_overview_addon in sub_overview_addons %} {% include sub_overview_addon %} {% endfor %} {% if subscription.state != 'inactive' %}
{% blocktrans %}{{ v_subscription }} ändern{% endblocktrans %} {% if not primary %} {% trans "Nur der Hauptbezieher kann Änderungen durchführen." %} {% endif %}
{% endif %} {% if subscription.state != 'inactive' and can_leave %}
{% blocktrans %}{{ v_subscription }} verlassen{% endblocktrans %}
{% endif %} {% endif %} {% endblock %}