-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
110 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
Thank you so much for your support! Your employer may match your contributions to charitable organizations, | ||
so be sure to ask them. Donations over $250 will receive a donation receipt later this year. If you require a | ||
receipt, but donated less than $250, please email {{ "[email protected]"|email_to_link }} to request one. | ||
{% if attendee.extra_donation > 30 %}Even cooler, you are now a proud MAGFest Superstar! Check out our <a href="http://magfest.org/superstars">Superstars page</a> for more details on your perks.{% endif %} | ||
{% if attendee.extra_donation > c.SUPERSTAR_MINIMUM %}Even cooler, you are now a proud MAGFest Superstar! Check out our <a href="http://magfest.org/superstars">Superstars page</a> for more details on your perks.{% endif %} | ||
{% endif %} | ||
|
||
{% if attendee.addons %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{% extends "uber/templates/base.html" %}{% set admin_area=True %} | ||
{% set title = "Super MAGFest Superstars Report" %} | ||
{% block content %} | ||
<h2 class="center">Super MAGFest Superstars Report</h2> | ||
|
||
<div class="card"> | ||
<div class="card-header">Superstar Counts</div> | ||
<div class="card-body"> | ||
<p><strong>{{ total_count }}</strong> Superstars total</p> | ||
<p>Superstar level counts: | ||
<ul> | ||
{% for label, count in counts.items() %} | ||
<li><strong>{{ label }}</strong>: {{ count }}</li> | ||
{% endfor %} | ||
</ul> | ||
The counts above include all donations up to but not including the next donation level. | ||
</p> | ||
</div> | ||
</div> | ||
<br/> | ||
<div class="card"> | ||
<div class="card-header">Superstar Attendees</div> | ||
<div class="card-body"> | ||
<p><a href="superstars_csv"><i class="fa fa-download"></i> Download CSV</a></p> | ||
<table class="table table-striped datatable"> | ||
<thead> | ||
<th>Group</th> | ||
<th>Name</th> | ||
<th>Name on Photo ID</th> | ||
<th>Badge Name</th> | ||
<th>Badge Type</th> | ||
<th>Ribbons</th> | ||
<th>Pre-ordered Merch</th> | ||
<th>Email Address</th> | ||
<th>Zip Code</th> | ||
<th>Paid?</th> | ||
<th>Checked In?</th> | ||
</thead> | ||
<tbody> | ||
{% for attendee in attendees %} | ||
<tr> | ||
<td data-sort="{{ attendee.group.name if attendee.group else '' }}"> | ||
{{ attendee.group|form_link if attendee.group else "N/A" }} | ||
</td> | ||
<td data-sort="{{ attendee.last_first }}">{{ attendee|form_link }}</td> | ||
<td>{{ attendee.legal_name }}</td> | ||
<td>{{ attendee.badge_printed_name }}</td> | ||
<td>{{ attendee.badge_type_label }}</td> | ||
<td>{{ attendee.ribbon_labels|join(", ") }}</td> | ||
<td>{{ attendee.amount_extra_label }}</td> | ||
<td>{{ attendee.email_address }}</td> | ||
<td>{{ attendee.zip_code }}</td> | ||
<td data-sort="{{ owe_money[attendee.id] if attendee.id in owe_money else '0' }}"> | ||
{% if owe_money[attendee.id] %}No (owes {{ owe_money[attendee.id]|format_currency }}) | ||
{% else %}Yes{% endif %} | ||
</td> | ||
<td data-sort="{{ attendee.checked_in|full_datetime_local }}"> | ||
{{ hour_day_local(attendee.checked_in) }} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |