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

{% blocktrans %}{{ v_depot }} ändern{% endblocktrans %}

{% endblock %} {% block content %} {% vocabulary "depot" as v_depot %} {% vocabulary "subscription" as v_subscription %} {% if saved %} {% if subscription.waiting %}
{% blocktrans %}Dein/e {{ v_depot }} wurde geändert.{% endblocktrans %} {% else %}
{% include "juntagrico/my/depot/snippets/change_pending_info.html" %} {% endif %}
{% blocktrans %}Zurück zur {{ v_subscription }}-Übersicht{% endblocktrans %}
{% else %}
{% csrf_token %}
{{ subscription.depot.name }}
{% include "juntagrico/my/depot/snippets/change_pending_info.html" %}

{% endif %} {% endblock %} {% block scripts %} {{ subscription.depot.name|json_script:'selected_depot' }} {{ depots.map_info|json_script:'depots' }} {% include 'snippets/scripts/leaflet.html' %} {% endblock %}