WebUI: Add units to some DNS zone and IPA config fields

Add also tooltips to ipasearchrecordslimit and ipasearchtimelimit
to clarify the special value 0/-1.

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Peter Keresztes Schmidt 2020-06-05 23:54:19 +02:00 committed by Alexander Bokovoy
parent 187968d472
commit 5f239aebca
2 changed files with 33 additions and 8 deletions

View File

@ -159,12 +159,30 @@ return {
}, },
'idnssoarname', 'idnssoarname',
'idnssoaserial', 'idnssoaserial',
'idnssoarefresh', {
'idnssoaretry', name: 'idnssoarefresh',
'idnssoaexpire', measurement_unit: 'seconds'
'idnssoaminimum', },
'dnsdefaultttl', {
'dnsttl', name: 'idnssoaretry',
measurement_unit: 'seconds'
},
{
name: 'idnssoaexpire',
measurement_unit: 'seconds'
},
{
name: 'idnssoaminimum',
measurement_unit: 'seconds'
},
{
name: 'dnsdefaultttl',
measurement_unit: 'seconds'
},
{
name: 'dnsttl',
measurement_unit: 'seconds'
},
{ {
$type: 'radio', $type: 'radio',
name: 'idnsallowdynupdate', name: 'idnsallowdynupdate',

View File

@ -45,8 +45,15 @@ return {
name: 'search', name: 'search',
label: '@i18n:objects.config.search', label: '@i18n:objects.config.search',
fields: [ fields: [
'ipasearchrecordslimit', {
'ipasearchtimelimit' name: 'ipasearchrecordslimit',
tooltip: '@mc-opt:config_mod:ipasearchtimelimit:doc'
},
{
name: 'ipasearchtimelimit',
measurement_unit: 'seconds',
tooltip: '@mc-opt:config_mod:ipasearchtimelimit:doc'
}
] ]
}, },
{ {