diff --git a/templates/email.txt b/templates/email.txt index 18be1d8..cd4dc40 100644 --- a/templates/email.txt +++ b/templates/email.txt @@ -22,6 +22,13 @@ People who have not yet started: % endfor % endif +% if skipped_users: +People who are currently skipped: +% for u in sorted(skipped_users, key=lambda u:u.username): + ${u.username} +% endfor +% endif + Beer pool: This week: € ${5 * len(lame)} Total: € ${pool} diff --git a/templates/quick_view.tmpl b/templates/quick_view.tmpl index 6b5cb22..75cdf34 100644 --- a/templates/quick_view.tmpl +++ b/templates/quick_view.tmpl @@ -12,6 +12,10 @@ People who posted: ${", ".join(sorted([u.username for u in good]))} People who have not yet started: ${", ".join(sorted([u.username for u in skip]))} % endif +% if skipped_users: +People who are currently skipped: ${", ".join(sorted([u.username for u in skipped_users]))} +% endif + Beer pool: This week: € ${5 * len(lame)} Total: € ${pool} diff --git a/templates/week.tmpl b/templates/week.tmpl index bfdca3e..1a6ba9b 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -50,6 +50,19 @@ Results for week beginning ${week_start.strftime("%F")} % endif +% if skipped_users: +

Who is currently skipped::

+ +% endif +

Beer fund:

This week: € ${5 * len(lame)}