{% set g = giving = participant.get_dollars_giving() %}
{% set r = receiving = participant.get_dollars_receiving() %}
{% if g > r and not participant.anonymous %}
{{ participant.id }} gives
{% if user == participant %}
${{ giving }}
{% else %}
${{ giving }}
{% end %}
per
week{% if r > 0 %}, and receives ${{ receiving }}{% end %}
{% elif r > 0 %}
{{ participant.id }} receives
${{ receiving }}
per
week{% if g > 0 %}, and gives
{% if participant.anonymous %}
anonymously
{% elif user == participant %}
${{ giving }}
{% else %}
${{ giving }}
{% end %}
{% end %}
{% else %}
{% set age = participant.get_age_in_seconds() %}
{{ participant.id }}
{% if g > 0 %}
gives anonymously
{% elif age < 60 %}
just joined Gittip! :D
{% elif age < (60 * 60 * 24 * 7) %}
joined recently
{% else %}
is lurking
{% end %}
{% end %}
{% if participant.id != user.id %}
{% if locked %}
This account has been locked by its owner.
{% elif user.ANON %}
Your Weekly Gift
{% for amount in AMOUNTS %}
{% end %}
Sign in using
Twitter or
GitHub
to give to {{ participant.id }}.
{% else %}
{% set my_tip = user.get_tip_to(participant.id) %}
Your Weekly Gift
{% for amount in AMOUNTS %}
{% end %}
{% if my_tip not in AMOUNTS %}
—
old amount!
{% end %}
{% if user.last_bill_result is None %}
Back your gift with a credit card to make sure it goes
through!
{% elif user.last_bill_result %}
Fix your credit
card to make sure your gifts go through!
{% end %}
{% end %}
{% end %}
{% block nav %}{% end %}
{% if participant.id == 'aaronsw' %}