From 82bcc31216207a72ae4ab4d4b986cf13b8036ed0 Mon Sep 17 00:00:00 2001 From: Nelson Elhage Date: Sun, 23 May 2010 21:08:25 -0400 Subject: [PATCH 1/1] Improve styling on week.tmpl --- templates/week.tmpl | 28 ++++++++++++++++++++-------- 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/templates/week.tmpl b/templates/week.tmpl index 4ed842f..57a88c0 100644 --- a/templates/week.tmpl +++ b/templates/week.tmpl @@ -1,21 +1,22 @@ Results for week beginning ${week_start.strftime("%F")}

People who posted

- +

People who failed to post

@@ -23,7 +24,7 @@ Results for week beginning ${week_start.strftime("%F")}

People who have not yet started

% endif @@ -36,8 +37,19 @@ Results for week beginning ${week_start.strftime("%F")}

Debts:

- +<% i = 0 %> +
% for (u, v) in sorted(debts, key=lambda p:p[1], reverse=True): - +% if i % 3 == 0: +\ +% endif +<% i += 1 %>\ +\ +% if i % 3 == 0: + +%endif % endfor +% if i % 3 != 0: + +%endif
${u} ${v}
${u} $${v}
-- 2.39.5