diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-23 15:54:23 +0200 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2011-07-23 15:54:23 +0200 |
| commit | 4fcaf7d7ec583b794c14597d50abc89ef96450c9 (patch) | |
| tree | 16fcff5d5f304a92ff80c92bbbfac5ca9c61b66c /budget/templates/list_bills.html | |
| parent | 54de7abf23f61df916fe65f590d0d45ec8e2d174 (diff) | |
| download | ihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.zip ihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.tar.gz ihatemoney-mirror-4fcaf7d7ec583b794c14597d50abc89ef96450c9.tar.bz2 | |
Kick-start multiple projects support.
This commit adds:
* support for projects (creation not yet finished)
* an authentication mechanism
* bugs (basically all the features are not working anymore)
Diffstat (limited to 'budget/templates/list_bills.html')
| -rw-r--r-- | budget/templates/list_bills.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html index 09caa48..d0f0c41 100644 --- a/budget/templates/list_bills.html +++ b/budget/templates/list_bills.html @@ -11,16 +11,16 @@ <td>{{ bill.what }}</td> <td>{% for ower in bill.owers %}{{ ower.name }} {% endfor %}</td> <td>{{ bill.amount }} ({{ bill.pay_each() }} each)</td> - <td><a href="{{ url_for("delete_bill", bill_id=bill.id) }}">delete</a></td> + <td><a href="{{ url_for("delete_bill", bill_id=bill.id, project_id=project.id) }}">delete</a></td> </tr> {% endfor %} </tbody> </table> -<a class="awesome large green button fleft" href="{{ url_for("compute_bills") }}">Compute bills</a> +<a class="awesome large green button fleft" href="{{ url_for("compute_bills", project_id=project.id) }}">Compute bills</a> <p> Periodically (probably at the end of each month, you can compute the balance of each people, in order to reset all the debts. You can also let this "as-is" and try to find a good balance, that's up to you</p> {% else %} -<p>Nothing to list yet. You probably want to <a href="{{ url_for("add_bill") }}">add a bill</a> ?</p> +<p>Nothing to list yet. You probably want to <a href="{{ url_for("add_bill", project_id=project.id) }}">add a bill</a> ?</p> {% endif %} {% endblock %} |
