% extends "templates/layouts/profile-base.html" % from 'templates/macros/avatar-url.html' import avatar_img with context % from "templates/macros/icons.html" import fontawesome % from "templates/macros/payment-methods.html" import payment_methods_icons with context {% block head_alternates %}{% endblock %} {% block navbar_alternates %}{% endblock %} % block before_container
% if participant.is_suspended

{{ _( "This profile is marked as spam or fraud." ) }}

% endif {% block profile_alternates %}{% endblock %}
{{ avatar_img(participant, size=120) }} % if participant.public_name

{{ participant.public_name }}
@{{ participant.username }}

% else

{{ participant.username }}

% endif

{{ summary|default('', True) }}

{% block profile_btn %}{% endblock %}
% set username = participant.username % set npatrons = Bold(participant.npatrons + participant.nteampatrons) % set receiving = participant.receiving % set goal = participant.goal
% if participant.hide_receiving or participant.payment_providers == 0 or not participant.accepts_tips {{ ngettext( "{0} has {n} patron.", "{0} has {n} patrons.", npatrons, username ) }} % elif goal and not receiving {{ _("{0}'s goal is to receive {1} per week.", username, Bold(goal)) }} % else {{ ngettext( "{0} receives {1} per week from {n} patron.", "{0} receives {1} per week from {n} patrons.", npatrons, username, Bold(receiving) ) }} % if goal {{ _("Goal: {0}", Bold(goal)).replace(' ', ' '|safe) }} % endif % endif
% set tip = user.get_tip_to(participant) % set donate_path = participant.path('donate') % if tip.renewal_mode > 0 {{ _("Modify your donation") }} % elif participant.payment_providers == 0 or not participant.accepts_tips {{ _("Pledge") }} % else {{ _("Donate") }}   {{ payment_methods_icons(participant) }} % endif
% endblock % block before_content
% endblock % block after_content
% endblock