<commit_before>from gittip import AMOUNTS
^L
title = "For Gittip"
^L
{% extends templates/base.html %}
{% block heading %}
<h2 class="top"><span>For</span></h2>
{% end %}
{% block box %}

<img src="/assets/{{ __version__ }}/logo.257.png" />

<p><a href="/">Gittip</a> is a weekly gift exchange. It is funded on
itself.</p>

<div class="nav level-1">

    {% if user.ANON %}

        <h2>Your Weekly Gift</h2>
        {% for amount in AMOUNTS %}
        <button class="tip-anon">${{ amount }}</button>
        {% end %}

        <div class="help with-padding">Sign in using
            <a class="flash-me" href="{{ twitter.oauth_url(website, u'opt-in', path.decoded) }}">Twitter</a>,
            <a href="{{ github.oauth_url(website, u'opt-in', path.decoded) }}">GitHub</a>, or
            <a href="{{ bitbucket.oauth_url(website, u'opt-in', path.decoded) }}">Bitbucket</a>
            to give to <b>Gittip</b>.</div>

    {% else %}

        {% set my_tip = user.get_tip_to("gittip") %}
        <h2>Your Weekly Gift</h2>
        {% for amount in AMOUNTS %}
        <button amount="{{ amount }}" tippee="gittip"
            class="tip{{ ' selected' if amount == my_tip else '' }}">${{ amount }}</button>
        {% end %}
        {% if my_tip not in AMOUNTS %}<commit_msg>Fix regression in logo for /for/gittip/; #449<commit_after>from gittip import AMOUNTS
^L
title = "For Gittip"
^L
{% extends templates/base.html %}
{% block heading %}
<h2 class="top"><span>For</span></h2>
{% end %}
{% block box %}

<img src="/assets/{{ __version__ }}/logo.256.png" />

<p><a href="/">Gittip</a> is a weekly gift exchange. It is funded on
itself.</p>

<div class="nav level-1">

    {% if user.ANON %}

        <h2>Your Weekly Gift</h2>
        {% for amount in AMOUNTS %}
        <button class="tip-anon">${{ amount }}</button>
        {% end %}

        <div class="help with-padding">Sign in using
            <a class="flash-me" href="{{ twitter.oauth_url(website, u'opt-in', path.decoded) }}">Twitter</a>,
            <a href="{{ github.oauth_url(website, u'opt-in', path.decoded) }}">GitHub</a>, or
            <a href="{{ bitbucket.oauth_url(website, u'opt-in', path.decoded) }}">Bitbucket</a>
            to give to <b>Gittip</b>.</div>

    {% else %}

        {% set my_tip = user.get_tip_to("gittip") %}
        <h2>Your Weekly Gift</h2>
        {% for amount in AMOUNTS %}
        <button amount="{{ amount }}" tippee="gittip"
            class="tip{{ ' selected' if amount == my_tip else '' }}">${{ amount }}</button>
        {% end %}
        {% if my_tip not in AMOUNTS %}
{'fraction_non_alphanumeric': 0.20085470085470086, 'fraction_numerical': 0.008935508935508936, 'mean_word_length': 2.689111747851003, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1973013', 'n_tokens_mistral': 980, 'n_tokens_neox': 882, 'n_words': 224}