From 0303ab4db7fde0f663fd669d3d3f8f5e5800774f Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Thu, 25 Aug 2011 18:25:58 +0200 Subject: [PATCH] Add a way to reactivate an user, make the add project non obstrusive --- budget/templates/list_bills.html | 4 ++-- budget/web.py | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index ff7297e..e9699dd 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -48,7 +48,7 @@ {% if balance[member] > 0 %}+{% endif %}{{ balance[member] }} - {% if member.activated %}delete{% endif %} + {% if member.activated %}delete{% else %}reactivate{% endif %} {% endif %} {% endfor %} @@ -60,7 +60,7 @@ {% endblock %} {% block content %} - Add a new bill +Add a new bill