diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-22 23:30:48 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-08-22 23:30:48 +0200 |
| commit | 1ccfa8a07dbfc76b5c6f7ffdcfad95a5b2894bfc (patch) | |
| tree | 0387b7cc7768e6b8dff1f08970447f227ee4a020 /budget/templates/list_bills.html | |
| parent | e0a40a0c7c9ef271710e47cfa7d9ba7da5db4763 (diff) | |
| download | ihatemoney-mirror-1ccfa8a07dbfc76b5c6f7ffdcfad95a5b2894bfc.zip ihatemoney-mirror-1ccfa8a07dbfc76b5c6f7ffdcfad95a5b2894bfc.tar.gz ihatemoney-mirror-1ccfa8a07dbfc76b5c6f7ffdcfad95a5b2894bfc.tar.bz2 | |
don't display delete link if the user is deactivated
Diffstat (limited to 'budget/templates/list_bills.html')
| -rw-r--r-- | budget/templates/list_bills.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <td class="{% if balance[member] > 0 %}positive{% elif balance[member] < 0 %}negative{% endif %}"> {% if balance[member] > 0 %}+{% endif %}{{ balance[member] }} </td> - <td> <a class="remove" href="{{ url_for("remove_member", member_id=member.id) }}">delete</a></td> + <td> {% if member.activated %}<a class="remove" href="{{ url_for("remove_member", member_id=member.id) }}">delete</a>{% endif %}</td> </tr> {% endif %} {% endfor %} |
