From 84a33c96f2ef93e50fe7954b855b27d2445b1a9b Mon Sep 17 00:00:00 2001 From: Javier Rodriguez Date: Thu, 27 Jan 2022 13:11:17 -0300 Subject: [PATCH] TT#160250 'Calculated fields' label changed to 'Language' label The 'Calculated fields' label is displayed when creating a new Batch Provisioning template on Admin Panel. This field has a selector which offers the 'Javascript' and 'Perl' options. The label may be confusing, since the options are programming languages (rather than 'calculated' fields) that can be used on provisioning templates. Hence, it is more suitable to change the 'Calculated fields' label to just the 'Language' label. This will also be in concordance with the JSON property 'lang' (short word for "Language") that can be used at API level to set the programming language. Change-Id: Ie944e446bbab845fee644f698023ac1eacf0e866 --- lib/NGCP/Panel/Form/ProvisioningTemplate/Reseller.pm | 2 +- lib/NGCP/Panel/Form/ProvisioningTemplate/ResellerAPI.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/NGCP/Panel/Form/ProvisioningTemplate/Reseller.pm b/lib/NGCP/Panel/Form/ProvisioningTemplate/Reseller.pm index a06dd59291..a0908eeb7e 100644 --- a/lib/NGCP/Panel/Form/ProvisioningTemplate/Reseller.pm +++ b/lib/NGCP/Panel/Form/ProvisioningTemplate/Reseller.pm @@ -41,7 +41,7 @@ has_field 'description' => ( has_field 'lang' => ( type => 'Select', - label => 'Calculated fields', + label => 'Language', options => [ { value => 'js', label => 'JavaScript' }, { value => 'perl', label => 'Perl' }, diff --git a/lib/NGCP/Panel/Form/ProvisioningTemplate/ResellerAPI.pm b/lib/NGCP/Panel/Form/ProvisioningTemplate/ResellerAPI.pm index f26ecc0d91..f6e24889ab 100644 --- a/lib/NGCP/Panel/Form/ProvisioningTemplate/ResellerAPI.pm +++ b/lib/NGCP/Panel/Form/ProvisioningTemplate/ResellerAPI.pm @@ -31,7 +31,7 @@ has_field 'description' => ( has_field 'lang' => ( type => 'Select', - label => 'Calculated fields', + label => 'Language', options => [ { value => 'js', label => 'JavaScript' }, { value => 'perl', label => 'Perl' },