p.link_tag anstatt p.link in bank_transactions Templates
authorWerner Hahn <wh@futureworldsearch.net>
Tue, 6 Feb 2018 12:00:38 +0000 (13:00 +0100)
committerWerner Hahn <wh@futureworldsearch.net>
Tue, 6 Feb 2018 12:00:38 +0000 (13:00 +0100)
templates/webpages/bank_transactions/_payment_suggestion.html
templates/webpages/bank_transactions/_template_list.html
templates/webpages/bank_transactions/invoices.html

index 94df64c..aba38af 100644 (file)
@@ -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 _ ")") %]
 </span>
index 4e35451..245f062 100644 (file)
@@ -15,7 +15,7 @@
   <tbody>
    [% FOREACH template = TEMPLATES_AP %]
     <tr class="listrow">
-     <td>[% P.link(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
+     <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
      <td>[% HTML.escape(template.vendor.name) %]</td>
      <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
      <td>[% HTML.escape(template.itime_as_date) %]</td>
@@ -42,7 +42,7 @@
   <tbody>
    [% FOREACH template = TEMPLATES_GL %]
     <tr class="listrow">
-     <td>[% P.link(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
+     <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
      <td>[% HTML.escape(template.reference) %]</td>
      <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
      <td>[% HTML.escape(template.itime_as_date) %]</td>
index 3dbfb49..4b59efc 100644 (file)
@@ -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 _ ")") %]
    </span>
   </td>
   <td>[% P.input_tag("sources_" _ bt_id _ "_" _ invoice.id, "") %]</td>