{% extends "layout.html" %} {% block title %} Donation Admin {% endblock %} {% block body %}

Get donation button Log out

Donation Admin

Combine this with your Stripe dashboard for the full effect.

{% if first %}

You're set up and ready to go! This is your admin panel. Next steps:

  1. Set up a cron job to handle monthly donations. Relevant documentation .
  2. Add some projects. Donors can tell you which project they want to support when they donate.
  3. Customize the look & feel. Look at the contents of the templates directory - you can copy and paste any of these templates into the overrides directory and change it to suit your needs.
  4. Donate to fosspay upstream?
  5. Contribute code to fosspay upstream?
{% endif %}

Projects

{% for project in projects %} {% endfor %}
Project Name One-time Recurring (active) Recurring (total paid)
{{ project.name }} ${{ "{:.2f}".format(one_times(project) / 100) }} ${{ "{:.2f}".format(recurring(project) / 100) }} ${{ "{:.2f}".format(recurring_ever(project) / 100) }}
(not specified) ${{ "{:.2f}".format(unspecified_one_times / 100) }} ${{ "{:.2f}".format(unspecified_recurring / 100) }} ${{ "{:.2f}".format(unspecified_recurring_ever / 100) }}
Total ${{ "{:.2f}".format(total_one_time / 100) }} ${{ "{:.2f}".format(total_recurring / 100) }} ${{ "{:.2f}".format(total_recurring_ever / 100) }}

Add Project

Donors will not be given a choice of project unless you have at least 2.

Recent Donations 50 most recent

{% for donation in donations %} {% endfor %}
Date Email Project Comment Amount Type Payments
{{ donation.created.strftime("%Y-%m-%d") }} {{ donation.user.email }} {{ donation.project.name if donation.project else "" }} {{ donation.comment if donation.comment else "" }} ${{ "{:.2f}".format(donation.amount / 100) }} {{ "Once" if str(donation.type) == "DonationType.one_time" else "Monthly" }} {{ "(cancelled)" if not donation.active else "" }} {{donation.payments}}
{% endblock %}