{% block trans %}
{% if pagename != 'index' %}
    <hr>
{% endif %}

{# Determine button image #}
{% if pagename in ['index',
                   'intro', 'what_log_calls_can_decorate', 'writing_indent_aware_debug_messages',
                   'dynamic_control_of_settings', 'further_examples_and_use_cases'] %}
    {% set fn = "_static/Donate-BLUE.png" %}
{% else %}
    {% if pagename in ['whats_new', 'parameters', 'using_loggers', 'indirect_values', 'record_history_deco']  %}
        {% set fn = "_static/Donate-ORANGE.png" %}
    {% else %}
        {% if pagename in ['installation', 'decorating_classes', 'retrieving_changing_defaults',
                           'call_history_and_statistics', 'appendix_I_parameters_reference'] %}
            {% set fn = "_static/Donate-AQUA.png" %}
        {% else %}
            {# ['quickstart', 'accessing_method_wrappers', 'bulk_external_redecorating',
                'call_chains', 'appendix_II_what_has_been_new', 'genindex'] #}
            {% set fn = "_static/Donate-YELLOW.png" %}
        {% endif %}
    {% endif %}
{% endif %}

<form action="https://www.paypal.com/cgi-bin/webscr"
      method="post"
      target="_blank"
      style=" display:inline!important;">

<p style="font-size: 95%">

{# Emit footer contrib msg text + button. #}

{% if pagename in ['intro', 'index'] %}
    You can show your appreciation and support of <em>log_calls</em>
{% else %}
    {% if pagename in ['whats_new'] or 'appendix' in pagename %}
        Has <em>log_calls</em> helped you? Would you like to help ensure that its development continues, <br/>
        at the same high level of quality? You can show your appreciation and support
    {% else %}
        Have you found this helpful? Would you like to see <em>log_calls</em> development continue, <br/>
        at the same high level of quality? You can show your appreciation and support
    {% endif %}
{% endif %}

{# by <a href="http://www.paypal.me/logcalls" TARGET="_blank"> <img src="{{fn}}" /></a> #}
 by
<span style="border-top:thick; ">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN   PKCS7-----">
<input type="image" src="{{fn}}"
       border="0" name="submit"
       alt="PayPal - The safer, easier way to pay online!"
       style="vertical-align: middle;">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</span>

.</p>
</form>

<p style="text-align: right">
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using
a tweaked <a href="https://readthedocs.org">Read the Docs</a>
<a href="https://github.com/snide/sphinx_rtd_theme">theme</a>.
</p>
{% endblock %}
