Skip to content

Commit

Permalink
WebUI: Expose TTL of DNS records
Browse files Browse the repository at this point in the history
Fixes: https://pagure.io/freeipa/issue/3827
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
  • Loading branch information
Carbenium authored and abbra committed Jun 8, 2020
1 parent 0e307ac commit 91e5551
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions install/ui/src/freeipa/dns.js
Expand Up @@ -1323,6 +1323,12 @@ return {
name: 'idnsname',
other_entity: 'host',
widget: 'identity.idnsname'
},
{
$type: 'text',
name: 'dnsttl',
measurement_unit: 'seconds',
widget: 'record_settings.dnsttl'
}
],
widgets:[
Expand All @@ -1338,6 +1344,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'
}
]
}
]
}
Expand Down
1 change: 1 addition & 0 deletions ipaserver/plugins/internal.py
Expand Up @@ -263,6 +263,7 @@ class i18n_messages(Command):
"expand_all": _("Expand All"),
"general": _("General"),
"identity": _("Identity Settings"),
"record": _("Record Settings"),
"settings": _("${entity} ${primary_key} Settings"),
"to_top": _("Back to Top"),
"updated": _("${entity} ${primary_key} updated"),
Expand Down

0 comments on commit 91e5551

Please sign in to comment.