diff options
| author | Leo Mouyna <mouynaleo@gmail.com> | 2019-09-28 14:16:42 +0200 |
|---|---|---|
| committer | Léo Mouyna <leo.mouyna@macq.eu> | 2019-10-03 18:15:50 +0200 |
| commit | afc93531809913660c3e08b661bc3b1e4b3ddd2d (patch) | |
| tree | d90d39baf7ed40ca7b9812a26744c4af7bad77ee /ihatemoney/templates/list_bills.html | |
| parent | 1f539b5c0d6d68897bcdb4cdf1f3f81debac49a9 (diff) | |
| download | ihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.zip ihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.tar.gz ihatemoney-mirror-afc93531809913660c3e08b661bc3b1e4b3ddd2d.tar.bz2 | |
feat: Optional field 'external link' in bill form.
An optional field has been added to the bill form to add a link to a real bill. A new action button allow user to see this bill. Breaking change with Bill model update for database, a migration is needed.
See issue #429.
Diffstat (limited to 'ihatemoney/templates/list_bills.html')
| -rw-r--r-- | ihatemoney/templates/list_bills.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index dddef4d..494969f 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -134,6 +134,9 @@ <td class="bill-actions"> <a class="edit" href="{{ url_for(".edit_bill", bill_id=bill.id) }}" title="{{ _("edit") }}">{{ _('edit') }}</a> <a class="delete" href="{{ url_for(".delete_bill", bill_id=bill.id) }}" title="{{ _("delete") }}">{{ _('delete') }}</a> + {% if bill.external_link %} + <a class="see" href="{{ bill.external_link }}" ref="noopener" target="_blank" title="{{ _("see") }}">{{ _('see') }} </a> + {% endif %} </td> </tr> {% endfor %} |
