WebUI: Expose TTL of DNS records

Fixes: https://pagure.io/freeipa/issue/3827
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Peter Keresztes Schmidt
2020-06-05 23:33:34 +02:00
committed by Alexander Bokovoy
parent 4d2cd3a273
commit 187968d472
2 changed files with 19 additions and 0 deletions

View File

@@ -1330,6 +1330,12 @@ return {
name: 'idnsname',
other_entity: 'host',
widget: 'identity.idnsname'
},
{
$type: 'text',
name: 'dnsttl',
measurement_unit: 'seconds',
widget: 'record_settings.dnsttl'
}
],
widgets:[
@@ -1345,6 +1351,18 @@ return {
label: '@mo-param:dnsrecord:idnsname:label'
}
]
},
{
name: 'record_settings',
label: '@i18n:details.record',
$type: 'details_section',
widgets: [
{
$type: 'text',
name: 'dnsttl',
label: '@mo-param:dnsrecord:dnsttl:label'
}
]
}
]
}