From: Werner Hahn Date: Tue, 6 Feb 2018 12:00:38 +0000 (+0100) Subject: p.link_tag anstatt p.link in bank_transactions Templates X-Git-Tag: release-3.5.4~477 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=07ff196fa5510308b3daa45681574abf23b919ca;p=kivitendo-erp.git p.link_tag anstatt p.link in bank_transactions Templates --- 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, "") %]