From: Jan Büren Date: Thu, 31 Mar 2022 11:54:38 +0000 (+0200) Subject: Sprache auf ungültig setzen im Admin-Bereich X-Git-Tag: kivitendo-mebil_0.1-0~10^2~2^2~72 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5474d397bbc42ffaea0b51ebb4bb9a4c7afaa881;p=kivitendo-erp.git Sprache auf ungültig setzen im Admin-Bereich --- 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) %] + +