{% load i18n %} {# @description The way through to the provider's billing portal: a control that posts to the backend's portal endpoint, or a note when there is none. #} {# @prop endpoint:text | description:"The backend's portal endpoint. Without it, a note replaces the control." #} {# The CSRF token comes from context, never an attribute a caller could fill with a stale one. billing_portal.js posts the control (ADR 0005). #} {# Offered only to somebody with a current subscription, because the endpoint creates a provider customer for whoever posts to it (ADR 0007). #} {% if endpoint %}
{% else %}

{% translate "Your subscription is managed by the provider. The billing portal cannot be reached right now." %}

{% endif %}