aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/templates')
-rw-r--r--ihatemoney/templates/forms.html3
-rw-r--r--ihatemoney/templates/list_bills.html3
2 files changed, 5 insertions, 1 deletions
diff --git a/ihatemoney/templates/forms.html b/ihatemoney/templates/forms.html
index a64e205..c96921c 100644
--- a/ihatemoney/templates/forms.html
+++ b/ihatemoney/templates/forms.html
@@ -14,7 +14,7 @@
{{ field(class=class, placeholder=placeholder) | safe }}
{% endif %}
{% if field.description %}
- <p class="help-inline">{{ field.description }}</p>
+ <small id="{{field.name}}_description"" class="form-text text-muted">{{ field.description }}</small>
{% endif %}
</div>
</div>
@@ -95,6 +95,7 @@
{{ input(form.what, inline=True) }}
{{ input(form.payer, inline=True, class="form-control custom-select") }}
{{ input(form.amount, inline=True) }}
+ {{ input(form.external_link, inline=True) }}
<div class="form-group row">
<label class="col-3" for="payed_for">{{ _("For whom?") }}</label>
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 %}