{{ _('OCPI Settings') }}

{{ _('Configure base URLs, tokens, webhooks, and retry behaviour for the OCPI API.') }}

{% if message %} {% endif %} {% if error %} {% endif %}

{{ _('Environment & Base URL') }}

{{ _('Active base URL:') }} {{ active_base_url or _('n/a') }}
{{ _('Used when the production environment is active or as fallback for existing peers.') }}
{{ _('Switch environments without losing the alternative base URL.') }}

{{ _('Tokens & Webhooks') }}

{{ _('Bearer-style token protecting the production OCPI endpoints.') }}
{{ _('Use a separate token for sandbox partners if required.') }}
{{ _('Optional webhook for OCPI alerts and retries.') }}
{{ _('Send OCPI notifications to Slack or compatible channels.') }}

{{ _('Alerts & thresholds') }}

{{ _('Triggers alerts when a module exceeds this error rate.') }}
{{ _('Threshold for partner/backend failure rate alerts.') }}
{{ _('Alert when webhook/slack endpoint stays unreachable.') }}
{{ _('Send alerts when a token expires within this many days.') }}
{{ _('Optional default expiry for tokens without per-partner overrides.') }}
{{ _('Provide per-partner expiry dates as a JSON object.') }}
{{ _('Silence notifications during the configured window.') }}
{{ _('Minimum interval between repeated alerts of the same type.') }}

{{ _('Retry policy') }}

{{ _('Controls how often failed OCPI exports are retried and how many items are processed per run.') }}