diff options
| author | Pavel Vomacka <pvomacka@redhat.com> | 2016-06-13 10:29:49 +0200 |
|---|---|---|
| committer | Petr Vobornik <pvoborni@redhat.com> | 2016-06-21 14:15:56 +0200 |
| commit | f85c347f4d2f50d49e77373a56c55f3e2b4bc473 (patch) | |
| tree | d0efee2c4151a12d5a0df5b5c5b0d9de4cd86e0e | |
| parent | ab52b33c71d62524b9d46a66a22ec0440d23ff38 (diff) | |
Add placeholder to add segment dialog
'Autogenerated' placeholder is shown when adding new segment.
https://fedorahosted.org/freeipa/ticket/5867
Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
| -rw-r--r-- | install/ui/src/freeipa/topology.js | 1 | ||||
| -rw-r--r-- | install/ui/test/data/ipa_init.json | 1 | ||||
| -rw-r--r-- | ipaserver/plugins/internal.py | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/topology.js b/install/ui/src/freeipa/topology.js index dc214227f..7a6024663 100644 --- a/install/ui/src/freeipa/topology.js +++ b/install/ui/src/freeipa/topology.js @@ -865,6 +865,7 @@ topology.create_add_dialog = function(spec) { spec.fields = spec.fields || [ { name: 'cn', + placeholder: '@i18n:objects.topology.autogenerated', required: false }, { diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index eb5fb14cc..1d7f5d883 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -600,6 +600,7 @@ "user": "Who" }, "topology": { + "autogenerated": "Autogenerated", "segment_details": "Segment details", "replication_config": "Replication configuration", "insufficient_domain_level" : "Managed topology requires minimal domain level ${domainlevel}" diff --git a/ipaserver/plugins/internal.py b/ipaserver/plugins/internal.py index 1d83b4648..c0360567c 100644 --- a/ipaserver/plugins/internal.py +++ b/ipaserver/plugins/internal.py @@ -739,6 +739,7 @@ class i18n_messages(Command): "user": _("Who"), }, "topology": { + "autogenerated": _("Autogenerated"), "segment_details": _("Segment details"), "replication_config": _("Replication configuration"), "insufficient_domain_level" : _("Managed topology requires minimal domain level ${domainlevel}"), |
