{% if _cfg("public-income") == "yes" %}
{% set total_sum = recurring_sum + patreon_sum + lp_sum %} {% set total_count = recurring_count + patreon_count + lp_count %} {% if _cfg("goal") %} {% set goal = int(_cfg("goal")) %} {% if goal < total_sum %} {# Make the graph still make sense if we exceeded the goal #} {% set adjusted_goal = total_sum %} {% else %} {% set adjusted_goal = goal %} {% endif %} {% set recurring_progress = recurring_sum / adjusted_goal %} {% set patreon_progress = patreon_sum / adjusted_goal %} {% set lp_progress = lp_sum / adjusted_goal %} {% set progress = total_sum / goal %}
{{ currency.amount("{:.0f}".format(recurring_sum / 100)) }}
{{ currency.amount("{:.0f}".format(patreon_sum / 100)) }}
{{ currency.amount("{:.0f}".format(lp_sum / 100)) }}
{% endif %}
{% if patreon_count or lp_count %}

{{ currency.amount("{:.2f}".format(recurring_sum / 100)) }} par mois via {{ domain }} ({{ recurring_count }} donateurice{{ "s" if recurring_count != 1 else "" }})

{% if patreon_count %}

{{ currency.amount("{:.2f}".format(patreon_sum / 100)) }} par mois via Patreon ({{ patreon_count }} donateurice{{ "s" if patreon_count != 1 else "" }})

{% endif %} {% if lp_count %}

{{ currency.amount("{:.2f}".format(lp_sum / 100)) }} par mois via Liberapay ({{ lp_count }} donateurice{{ "s" if lp_count != 1 else "" }})

{% endif %} {% endif %} {% if goal %}

{{ currency.amount("{:.2f}".format(total_sum / 100))}} par mois sur l'objectif de {{ currency.amount("{:.2f}".format(goal / 100)) }}.

{% else %}

Soutenu par {{ total_count }} personne{{ "s" if total_count != 1 else "" }} pour un montant total de {{ currency.amount("{:.2f}".format(total_sum / 100)) }}

{% endif %}
{% include "goal-summary.html" %}
{% endif %}