Skip to content

Commit

Permalink
Send direct-pay link in deadbeat emails
Browse files Browse the repository at this point in the history
  • Loading branch information
ppannuto committed Jul 29, 2015
1 parent 796d75c commit 985678d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions chezbetty/templates/admin/email_deadbeats.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Betty {{ user.balance|format_currency|safe }}. Please pay at your earliest
convenience.</p>

<p>To pay with a credit card, please visit
<a href="https://chezbetty.eecs.umich.edu/user">your user page</a>.
<p><a href="https://chezbetty.eecs.umich.edu/paydebt/{{ user.uniqname }}">
Click here to pay online.</a></p>

<p>Thank you,</p>
<p>Chez Betty</p>
4 changes: 2 additions & 2 deletions chezbetty/templates/admin/email_endofsemester.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ by graduate students with limited resources. You currently owe Betty
{{ user.balance|format_currency|safe }}. We would greatly appreciate if you
could settle your debts with Betty.</p>

<p>To pay with a credit card, please visit
<a href="https://chezbetty.eecs.umich.edu/user">your user page</a>.
<p><a href="https://chezbetty.eecs.umich.edu/paydebt/{{ user.uniqname }}">
Click here to pay online.</a></p>

<p>Thank you,</p>
<p>Chez Betty</p>
Expand Down
4 changes: 2 additions & 2 deletions chezbetty/templates/admin/users_email.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$<input name="threshold" value="20.00"> in debt to Chez Betty encouraging
them to settle up.</p>
<div class="well">
{% set user = {'name': '<< name >>', 'balance': '<< balance >>'} %}
{% set user = {'name': '<< name >>', 'balance': '<< balance >>', 'uniqname': '<< uniqname >> '} %}
{% include "email_deadbeats.jinja2" %}
</div>
<button type="submit" class="btn btn-success">Email Deadbeat Users</button>
Expand All @@ -29,7 +29,7 @@
$<input name="threshold" value="2.00"> in debt to Chez Betty encouraging
them to settle up.</p>
<div class="well">
{% set user = {'name': '<< name >>', 'balance': '<< balance >>'} %}
{% set user = {'name': '<< name >>', 'balance': '<< balance >>', 'uniqname': '<< uniqname >> '} %}
{% include "email_endofsemester.jinja2" %}
</div>
<button type="submit" class="btn btn-success">Send End of Semester Email</button>
Expand Down

0 comments on commit 985678d

Please sign in to comment.