{% extends "pretixcontrol/event/settings_base.html" %} {% load i18n %}{% load bootstrap3 %} {% block inside %}

{% trans "Stripe auto-sync" %}

{% blocktrans %}Set Stripe up once on a single event, mark it the template, and every other event in this organiser that has no Stripe yet is wired up automatically — no re-entering keys per event.{% endblocktrans %}

{% if is_template %} {% if has_stripe %}
{% blocktrans %}This event is the Stripe template ({{ key_count }} settings) and its Stripe secret key is set.{% endblocktrans %}
{% else %}
{% blocktrans %}This is marked as the template, but it has no Stripe secret key yet. Configure Stripe on this event first (Settings → Payment → Stripe).{% endblocktrans %}
{% endif %} {% if targets %}
{% blocktrans count n=targets|length %}{{ n }} event has no Stripe yet and will be wired: {{ targets }}{% plural %}{{ n }} events have no Stripe yet and will be wired: {{ targets }}{% endblocktrans %}
{% endif %} {% endif %}
{% csrf_token %} {% bootstrap_form form layout="horizontal" %}
{% if is_template and has_stripe %} {% endif %}
{% endblock %}