From 7972cef8c2b55f120a7386c81facfa44e05ccd41 Mon Sep 17 00:00:00 2001
From: Moritz Bunkus
Date: Thu, 22 Nov 2012 16:20:27 +0100
Subject: [PATCH] "Erfassen" als normale Links anstelle von Buttons darstellen
"Erfassen" sollte als GET-Request erfolgen und nicht als POST.
---
templates/webpages/am/buchungsgruppe_list.html | 10 +---------
templates/webpages/am/lead_list.html | 8 +-------
templates/webpages/am/list_price_factors.html | 8 +-------
templates/webpages/am/list_tax.html | 9 +--------
templates/webpages/am/list_warehouses.html | 7 +------
templates/webpages/amcvar/list_cvar_configs.html | 3 +--
.../bankaccounts/bank_account_list_bottom.html | 12 +++---------
templates/webpages/pe/search.html | 5 +++--
8 files changed, 12 insertions(+), 50 deletions(-)
diff --git a/templates/webpages/am/buchungsgruppe_list.html b/templates/webpages/am/buchungsgruppe_list.html
index 7f5718d74..55380c79f 100644
--- a/templates/webpages/am/buchungsgruppe_list.html
+++ b/templates/webpages/am/buchungsgruppe_list.html
@@ -51,13 +51,5 @@
-
+[%- LxERP.t8('Add') %]
diff --git a/templates/webpages/am/lead_list.html b/templates/webpages/am/lead_list.html
index 5ccb55c25..1e756bfc8 100644
--- a/templates/webpages/am/lead_list.html
+++ b/templates/webpages/am/lead_list.html
@@ -22,11 +22,5 @@
-
+ [%- 'Add' | $T8 %]
diff --git a/templates/webpages/am/list_price_factors.html b/templates/webpages/am/list_price_factors.html
index 863b1a192..06e48a38a 100644
--- a/templates/webpages/am/list_price_factors.html
+++ b/templates/webpages/am/list_price_factors.html
@@ -33,13 +33,7 @@
-
+ [%- 'Add' | $T8 %]
[% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]
-
diff --git a/templates/webpages/am/list_tax.html b/templates/webpages/am/list_tax.html
index b5d43bc11..0ea65af7e 100644
--- a/templates/webpages/am/list_tax.html
+++ b/templates/webpages/am/list_tax.html
@@ -24,12 +24,5 @@
-
+ [%- 'Add' | $T8 %]
-
-
diff --git a/templates/webpages/am/list_warehouses.html b/templates/webpages/am/list_warehouses.html
index 65a9a735f..4761d3f32 100644
--- a/templates/webpages/am/list_warehouses.html
+++ b/templates/webpages/am/list_warehouses.html
@@ -31,12 +31,7 @@
-
+ [%- 'Add' | $T8 %]
[% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]
-
diff --git a/templates/webpages/amcvar/list_cvar_configs.html b/templates/webpages/amcvar/list_cvar_configs.html
index 0a237d41e..ddf214396 100644
--- a/templates/webpages/amcvar/list_cvar_configs.html
+++ b/templates/webpages/amcvar/list_cvar_configs.html
@@ -88,9 +88,8 @@
-
+ [%- 'Add' | $T8 %]
[% L.sortable_element('#cvarcfg_list tbody', url => 'controller.pl?action=CustomVariableConfig/reorder', with => 'cvarcfg_id') %]
-
diff --git a/templates/webpages/bankaccounts/bank_account_list_bottom.html b/templates/webpages/bankaccounts/bank_account_list_bottom.html
index 8542aab74..202dd2d4c 100644
--- a/templates/webpages/bankaccounts/bank_account_list_bottom.html
+++ b/templates/webpages/bankaccounts/bank_account_list_bottom.html
@@ -1,10 +1,4 @@
[% USE T8 %][% USE HTML %]
-
-
+
+ [%- 'New bank account' | $T8 %]
+
diff --git a/templates/webpages/pe/search.html b/templates/webpages/pe/search.html
index 714d66ebd..9cbb93189 100644
--- a/templates/webpages/pe/search.html
+++ b/templates/webpages/pe/search.html
@@ -1,5 +1,6 @@
[%- USE T8 %]
[%- USE LxERP %]
+[%- USE HTML %]
-
-
--
2.20.1