{% set contrib = addon.takes_contributions and addon.has_full_profile() or errors %} {% if contrib and not errors %}

{{ _('You are currently requesting contributions from users') }}
{% trans url=url('addons.about', addon.slug), url_full=url('addons.about', addon.slug, host=settings.SITE_URL) %} Your contribution page: {{ url_full }} {% endtrans %}

{{ csrf() }}
{% elif not errors %}

{{ _('Voluntary Contributions') }}

{{ _('Add-ons enrolled in our contributions program can request voluntary financial support from users.') }}

{% if not addon.is_listed %}

{% trans %} Contributions are only available for listed add-ons. {% endtrans %}

{% else %} {% if not addon.has_full_profile() %}

{% trans url=addon.get_dev_url('profile') %} Contributions are only available for add-ons with a completed developer profile. {% endtrans %}

{% elif addon.status != amo.STATUS_PUBLIC %}

{% trans %} Contributions are only available for fully reviewed add-ons. {% endtrans %}

{% else %} {% endif %} {% endif %}
{% endif %} {% include "devhub/payments/voluntary.html" %}