From 07ff196fa5510308b3daa45681574abf23b919ca Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Tue, 6 Feb 2018 13:00:38 +0100 Subject: [PATCH] p.link_tag anstatt p.link in bank_transactions Templates --- templates/webpages/bank_transactions/_payment_suggestion.html | 2 +- templates/webpages/bank_transactions/_template_list.html | 4 ++-- templates/webpages/bank_transactions/invoices.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/webpages/bank_transactions/_payment_suggestion.html b/templates/webpages/bank_transactions/_payment_suggestion.html index 94df64c71..aba38af61 100644 --- a/templates/webpages/bank_transactions/_payment_suggestion.html +++ b/templates/webpages/bank_transactions/_payment_suggestion.html @@ -6,5 +6,5 @@ [% IF SELECT_OPTIONS.size %] [% P.select_tag("invoice_skontos." _ bt_id _ "[]", SELECT_OPTIONS, value_key="payment_type", title_key="display") %] [% END %] - [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %] + [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ prop_id _ ")") %] diff --git a/templates/webpages/bank_transactions/_template_list.html b/templates/webpages/bank_transactions/_template_list.html index 4e354515f..245f0629d 100644 --- a/templates/webpages/bank_transactions/_template_list.html +++ b/templates/webpages/bank_transactions/_template_list.html @@ -15,7 +15,7 @@ [% FOREACH template = TEMPLATES_AP %] - [% P.link(SELF.load_ap_record_template_url(template), template.template_name) %] + [% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %] [% HTML.escape(template.vendor.name) %] [% HTML.escape(template.employee.name || template.employee.login) %] [% HTML.escape(template.itime_as_date) %] @@ -42,7 +42,7 @@ [% FOREACH template = TEMPLATES_GL %] - [% P.link(SELF.load_gl_record_template_url(template), template.template_name) %] + [% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %] [% HTML.escape(template.reference) %] [% HTML.escape(template.employee.name || template.employee.login) %] [% HTML.escape(template.itime_as_date) %] diff --git a/templates/webpages/bank_transactions/invoices.html b/templates/webpages/bank_transactions/invoices.html index 3dbfb4931..4b59efcf9 100644 --- a/templates/webpages/bank_transactions/invoices.html +++ b/templates/webpages/bank_transactions/invoices.html @@ -9,7 +9,7 @@ [% P.hidden_tag("invoice_ids." _ bt_id _"[]", invoice.id) %] [% LxERP.t8("Invno.") %]: [% HTML.escape(invoice.invnumber) %] [% LxERP.t8("Open amount") %]: [% LxERP.format_amount(invoice.open_amount, 2) %] - [% P.link("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %] + [% P.link_tag("#", "x", onclick="kivi.BankTransaction.delete_invoice(" _ bt_id _ "," _ invoice.id _ ")") %] [% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %] -- 2.20.1