aboutsummaryrefslogtreecommitdiff
path: root/budget/templates
diff options
context:
space:
mode:
authorArnaud Bos <arnaud.tlse@gmail.com>2011-11-01 14:35:20 +0100
committerArnaud Bos <arnaud.tlse@gmail.com>2011-11-01 14:35:20 +0100
commit5963d7df9d231018d8739f27093a25fedc1c514d (patch)
tree359b344ff2f72c19430f397564130c843c89d845 /budget/templates
parentd1b641b45e70e88c84ca8cd6f45ba953ee18da07 (diff)
downloadihatemoney-mirror-5963d7df9d231018d8739f27093a25fedc1c514d.zip
ihatemoney-mirror-5963d7df9d231018d8739f27093a25fedc1c514d.tar.gz
ihatemoney-mirror-5963d7df9d231018d8739f27093a25fedc1c514d.tar.bz2
Replace edit / delete links by icons. Fix #49.
Diffstat (limited to 'budget/templates')
-rw-r--r--budget/templates/list_bills.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/budget/templates/list_bills.html b/budget/templates/list_bills.html
index c33a7e2..a6c68b8 100644
--- a/budget/templates/list_bills.html
+++ b/budget/templates/list_bills.html
@@ -104,8 +104,14 @@
<td>{{ bill.what }}</td>
<td>{% for ower in bill.owers %}{{ ower.name }} {% endfor %}</td>
<td>{{ "%0.2f"|format(bill.amount) }} ({{ "%0.2f"|format(bill.pay_each()) }} {{ _("each") }})</td>
- <td><a href="{{ url_for(".edit_bill", bill_id=bill.id) }}">{{ _("edit") }}</a>
- <a class="delete" href="{{ url_for(".delete_bill", bill_id=bill.id) }}">{{ _("delete") }}</a></td>
+ <td class="bill-actions">
+ <a class="edit" href="{{ url_for(".edit_bill", bill_id=bill.id) }}" title="{{ _("edit") }}">
+ <img src="{{ url_for("static", filename="pen.png") }}" />
+ </a>
+ <a class="delete" href="{{ url_for(".delete_bill", bill_id=bill.id) }}" title="{{ _("delete") }}">
+ <img src="{{ url_for("static", filename="scissors.png") }}" />
+ </a>
+ </td>
</tr>
{% endfor %}
</tbody>