aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates/list_bills.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2019-10-06 21:20:47 +0200
committerGitHub <noreply@github.com>2019-10-06 21:20:47 +0200
commit4b01276d60ed56de0a64d3122910e6b10577bce7 (patch)
treef6e5458ef4d556e8d452aa2e1a55eac9cc600ce4 /ihatemoney/templates/list_bills.html
parent1f539b5c0d6d68897bcdb4cdf1f3f81debac49a9 (diff)
parente453c917ed630614cbc6ed1400833b344548a504 (diff)
downloadihatemoney-mirror-4b01276d60ed56de0a64d3122910e6b10577bce7.zip
ihatemoney-mirror-4b01276d60ed56de0a64d3122910e6b10577bce7.tar.gz
ihatemoney-mirror-4b01276d60ed56de0a64d3122910e6b10577bce7.tar.bz2
Merge pull request #479 from LeoMouyna:feature/external-link-bill-form
feat: Optional field 'external link' in bill form.
Diffstat (limited to 'ihatemoney/templates/list_bills.html')
-rw-r--r--ihatemoney/templates/list_bills.html3
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 %}