Sprache auf ungültig setzen im Admin-Bereich
authorJan Büren <jan@kivitendo.de>
Thu, 31 Mar 2022 11:54:38 +0000 (13:54 +0200)
committerJan Büren <jan@kivitendo.de>
Thu, 31 Mar 2022 12:03:55 +0000 (14:03 +0200)
SL/Controller/SimpleSystemSetting.pm
templates/webpages/simple_system_setting/_language_form.html

index 633f68e..f23edbf 100644 (file)
@@ -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') } },
     ],
   },
 
index 0691f17..cf252b9 100644 (file)
@@ -25,4 +25,9 @@
   <th align="right">[% LxERP.t8("Long Dates") %]</th>
   <td>[% L.yes_no_tag("object.output_longdates", SELF.object.output_longdates, style=style) %]</td>
  </tr>
+ <tr>
+  <th align="right">[% LxERP.t8("Obsolete") %]</th>
+  <td>[% L.yes_no_tag("object.obsolete", SELF.object.obsolete, style=style) %]</td>
+ </tr>
+
 </table>