diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index 749c9070b..b04efd9c3 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -10,6 +10,7 @@ {% block title %} - {{ g.project.name }}{% endblock %} {% block js %} {% if add_bill %} $('#new-bill > a').click(); {% endif %} + {% if edit_bill is not none %} $('#edit-bill > a').click(); {% endif %} // ask for confirmation before removing an user $('.action.delete').each(function(){ @@ -86,6 +87,25 @@ + {% if edit_bill is not none %} + + + {% endif %} +
{% if bills.pages > 1 %}