From 5474d397bbc42ffaea0b51ebb4bb9a4c7afaa881 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Thu, 31 Mar 2022 13:54:38 +0200 Subject: [PATCH] =?utf8?q?Sprache=20auf=20ung=C3=BCltig=20setzen=20im=20Ad?= =?utf8?q?min-Bereich?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/SimpleSystemSetting.pm | 1 + templates/webpages/simple_system_setting/_language_form.html | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/SL/Controller/SimpleSystemSetting.pm b/SL/Controller/SimpleSystemSetting.pm index 633f68e1f..f23edbfd9 100644 --- a/SL/Controller/SimpleSystemSetting.pm +++ b/SL/Controller/SimpleSystemSetting.pm @@ -112,6 +112,7 @@ my %supported_types = ( { title => t8('Number Format'), formatter => sub { $_[0]->output_numberformat || t8('use program settings') } }, { title => t8('Date Format'), formatter => sub { $_[0]->output_dateformat || t8('use program settings') } }, { title => t8('Long Dates'), formatter => sub { $_[0]->output_longdates ? t8('yes') : t8('no') } }, + { title => t8('Obsolete'), formatter => sub { $_[0]->obsolete ? t8('yes') : t8('no') } }, ], }, diff --git a/templates/webpages/simple_system_setting/_language_form.html b/templates/webpages/simple_system_setting/_language_form.html index 0691f1712..cf252b926 100644 --- a/templates/webpages/simple_system_setting/_language_form.html +++ b/templates/webpages/simple_system_setting/_language_form.html @@ -25,4 +25,9 @@ [% LxERP.t8("Long Dates") %] [% L.yes_no_tag("object.output_longdates", SELF.object.output_longdates, style=style) %] + + [% LxERP.t8("Obsolete") %] + [% L.yes_no_tag("object.obsolete", SELF.object.obsolete, style=style) %] + + -- 2.20.1