{% extends "base.html" %} {% load i18n %} {% load static %} {% load juntagrico.config %} {% block styles %} {% endblock %} {% block page_title %} {% vocabulary "depot" as v_depot %}

{% blocktrans %}{{ v_depot }} wechseln{% endblocktrans %}

{% endblock %} {% block content %} {% vocabulary "depot" as v_depot %} {% if saved %} {% if subscription.waiting %}
{% blocktrans with v_your_depot=vocabulary.your_depot %}{{ v_your_depot }} wurde geändert.{% endblocktrans %} {% else %}
{% include "juntagrico/my/depot/snippets/change_pending_info.html" %} {% endif %}
{% blocktrans %}Zurück zur Übersicht{% endblocktrans %}
{% else %}
{% csrf_token %}
{{ subscription.depot.name }}
{% include "juntagrico/snippets/depot/select.html" with selected=subscription.depot subscriptions=subscription.future_active %}
{% include "juntagrico/snippets/depot/descriptions.html" %}
{% blocktrans trimmed with v_your_depot=vocabulary.v_your_depot %} Achtung! Hiermit sendest du erst eine Anfrage für den Wechsel. Du wirst darüber informiert wenn {{ v_your_depot }} sich ändert. {% endblocktrans %}
{% endif %} {% endblock %} {% block scripts %} {{ subscription.depot.name|json_script:'selected_depot' }} {{ depots.map_info|json_script:'depots' }} {% include 'snippets/scripts/leaflet.html' %} {% endblock %}