diff --git a/swh/web/templates/misc/fundraising-banner.html b/swh/web/templates/misc/fundraising-banner.html index a9073cfb..4b65a0c4 100644 --- a/swh/web/templates/misc/fundraising-banner.html +++ b/swh/web/templates/misc/fundraising-banner.html @@ -1,172 +1,187 @@ {% comment %} Copyright (C) 2021 The Software Heritage developers See the AUTHORS file at the top-level directory of this distribution License: GNU Affero General Public License version 3, or any later version See top-level LICENSE file for more information {% endcomment %} {% load static %} {% load render_bundle from webpack_loader %} Software Heritage fundraising banner {% render_bundle 'vendors' %}
{% comment %} large screen layout {% endcomment %}
- +
{% if nb_donations != -1 %} -
+ {% if lang == "en" %} +
+ {% elif lang == "fr" %} +
+ {% elif lang == "es" %} +
+ {% endif %}
{% if lang == "en" %} - Goal: {{ donations_goal }} donations, {{ goal_percent }}% complete + Goal: {{ donations_goal }} donations {% elif lang == "fr" %} - Objectif: {{ donations_goal }} donations, {{ goal_percent }}% complété + Objectif: {{ donations_goal }} donations {% elif lang == "es" %} - Objetivo: {{ donations_goal }} donaciones, {{ goal_percent }}% terminado + Objetivo: {{ donations_goal }} donaciones {% endif %}
{% endif %}
{% comment %} small screen layout {% endcomment %}