From 1ccfa8a07dbfc76b5c6f7ffdcfad95a5b2894bfc Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Mon, 22 Aug 2011 23:30:48 +0200 Subject: [PATCH] don't display delete link if the user is deactivated --- budget/templates/list_bills.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 77dba81..ff7297e 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -48,7 +48,7 @@ {% if balance[member] > 0 %}+{% endif %}{{ balance[member] }} - delete + {% if member.activated %}delete{% endif %} {% endif %} {% endfor %}