From df789b965d14afa99b623d3a4a5817ababbf1737 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 18 Oct 2016 14:06:58 +0200 Subject: [PATCH] oe: buttons im footer entfernt --- bin/mozilla/oe.pl | 2 - templates/webpages/oe/form_footer.html | 61 -------------------------- 2 files changed, 63 deletions(-) diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index e42893b17..840ef7d1a 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -643,8 +643,6 @@ sub form_footer { %TMPL_VAR, tpca_reminder => $tpca_reminder, print_options => print_options(inline => 1), - label_edit => $locale->text("Edit the $form->{type}"), - label_workflow => $locale->text("Workflow $form->{type}"), is_sales => scalar ($form->{type} =~ /^sales_/), # these vars are exported, so that the template is_order => scalar ($form->{type} =~ /_order$/), # may determine what to show is_sales_quo => scalar ($form->{type} =~ /sales_quotation$/), diff --git a/templates/webpages/oe/form_footer.html b/templates/webpages/oe/form_footer.html index d58ab7416..0a362936e 100644 --- a/templates/webpages/oe/form_footer.html +++ b/templates/webpages/oe/form_footer.html @@ -133,64 +133,6 @@

[% print_options %]

-[% label_edit %]
- - - - - -[% IF not tpca_reminder %] - - -[% ELSE %] - [% IF warn_save_active_periodic_invoice %] [% warn_save_active_periodic_invoice=1 %] [% END %] - [% L.submit_tag('action_save', LxERP.t8('Save'), confirm=LxERP.t8('Missing transport cost: #1 Are you sure?', tpca_reminder), 'data-require-transaction-description'=INSTANCE_CONF.get_require_transaction_description_ps, 'data-warn-save-active-periodic-invoice'=warn_save_active_periodic_invoice) %] - [% L.submit_tag('action_save_and_close', LxERP.t8('Save and close'), confirm=LxERP.t8('Missing transport cost: #1 Are you sure?', tpca_reminder), 'data-require-transaction-description'=INSTANCE_CONF.get_require_transaction_description_ps, 'data-warn-save-active-periodic-invoice'=warn_save_active_periodic_invoice) %] -[% END %] - -[%- IF id AND INSTANCE_CONF.get_doc_storage %] - -[%- END %] -[%- IF id %] - - - -
[% label_workflow %]
- - - [%- UNLESS (is_sales_ord && !INSTANCE_CONF.get_sales_order_show_delete) || (is_pur_ord && !INSTANCE_CONF.get_purchase_order_show_delete) %] - [% L.submit_tag('action_delete', LxERP.t8('Delete'), confirm=LxERP.t8('Are you sure?')) %] - [%- END %] - - [%- IF is_sales_quo %] - - [%- END %] - - [%- IF is_req_quo %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord %] - - [%- END %] - - [%- IF allow_invoice %] - - [%- END %] - - [%- IF is_sales_ord || is_pur_ord %] -
[% heading %] [% 'to be used as template for' | $T8 %]
- [%- IF is_sales_ord %] - - - [%- ELSE %] - [%- IF is_pur_ord %] - - - [%- END %] - [%- END %] - [%- END %] -[%- END %] @@ -202,6 +144,3 @@ [% END %] - -- 2.20.1