summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-06-24 11:39:48 -0500
committerAdam Young <ayoung@redhat.com>2011-06-27 12:11:22 -0400
commit7452b6d3cba288b10fe3452f9ee93d052fd45ebc (patch)
tree42fe81ab67d7e55f317ffae6770d991d3b4c9b20 /install
parent8d9575605dea3ca480f657c1ef3f94cab0d312f8 (diff)
downloadfreeipa-7452b6d3cba288b10fe3452f9ee93d052fd45ebc.tar.gz
freeipa-7452b6d3cba288b10fe3452f9ee93d052fd45ebc.tar.xz
freeipa-7452b6d3cba288b10fe3452f9ee93d052fd45ebc.zip
Fixed entity labels.
The entity labels in the following locations have been fixed: - search facet title: plural - details facet title: singular - association facet title: singular - breadcrumb: plural - adder dialog title: singular - deleter dialog title: plural Some entity labels have been changed into the correct plural form. Unused file install/ui/test/data/i18n_messages.json has been removed. Ticket #1249 Ticket #1387
Diffstat (limited to 'install')
-rw-r--r--install/ui/add.js3
-rw-r--r--install/ui/association.js7
-rw-r--r--install/ui/automount.js11
-rw-r--r--install/ui/details.js7
-rw-r--r--install/ui/entity.js34
-rw-r--r--install/ui/ipa.css33
-rw-r--r--install/ui/search.js7
-rw-r--r--install/ui/test/data/i18n_messages.json293
-rw-r--r--install/ui/test/data/ipa_init.json45
-rw-r--r--install/ui/webui.js6
10 files changed, 54 insertions, 392 deletions
diff --git a/install/ui/add.js b/install/ui/add.js
index 67e14eddc..eb4484346 100644
--- a/install/ui/add.js
+++ b/install/ui/add.js
@@ -29,9 +29,6 @@ IPA.add_dialog = function (spec) {
var that = IPA.dialog(spec);
- that.name = spec.name;
- that.title = spec.title;
- that._entity_name = spec.entity_name;
that.method = spec.method || 'add';
function show_edit_page(entity_name,result){
diff --git a/install/ui/association.js b/install/ui/association.js
index 54a8f6ae2..ad2268f5c 100644
--- a/install/ui/association.js
+++ b/install/ui/association.js
@@ -817,13 +817,6 @@ IPA.association_facet = function (spec) {
that.pkey = $.bbq.getState(that.entity_name+'-pkey');
var other_label = IPA.metadata.objects[that.other_entity].label;
- var title = that.title;
- title = title.replace('${entity}', that.entity_name);
- title = title.replace('${primary_key}', that.pkey);
- title = title.replace('${other_entity}', other_label);
-
- that.set_title(container, title);
-
if (!that.read_only) {
that.remove_button = IPA.action_button({
name: 'remove',
diff --git a/install/ui/automount.js b/install/ui/automount.js
index 6ef970544..d4f113d51 100644
--- a/install/ui/automount.js
+++ b/install/ui/automount.js
@@ -38,8 +38,7 @@ IPA.entity_factories.automountlocation = function() {
nested_entity : 'automountmap',
label : IPA.metadata.objects.automountmap.label,
name: 'maps',
- columns:['automountmapname'],
- back_link_text: 'Back to Locations'
+ columns:['automountmapname']
}).
details_facet({
sections:[
@@ -48,8 +47,7 @@ IPA.entity_factories.automountlocation = function() {
label: IPA.messages.details.identity,
fields:['cn']
}
- ],
- back_link_text: 'Back to Locations'
+ ]
}).
adder_dialog({
fields:['cn']
@@ -66,7 +64,6 @@ IPA.entity_factories.automountmap = function() {
label : IPA.metadata.objects.automountkey.label,
name: 'keys',
get_values: IPA.get_option_values,
- back_link_text: 'Back to Locations',
columns:[
{
factory: IPA.automount_key_column,
@@ -83,8 +80,7 @@ IPA.entity_factories.automountmap = function() {
label: IPA.messages.details.identity,
fields:['automountmapname','description']
}
- ],
- back_link_text: 'Back to Locations'
+ ]
}).
adder_dialog({
factory: IPA.automountmap_adder_dialog,
@@ -131,7 +127,6 @@ IPA.entity_factories.automountkey = function() {
}
],
disable_breadcrumb: false,
- back_link_text: 'Back to Locations',
pre_execute_hook : function (command){
var entity_name = this.entity_name;
var info = IPA.nav.get_state(entity_name + '-info');
diff --git a/install/ui/details.js b/install/ui/details.js
index 3b73e5b49..91e349a38 100644
--- a/install/ui/details.js
+++ b/install/ui/details.js
@@ -379,13 +379,6 @@ IPA.details_facet = function(spec) {
that.facet_create_header(container);
that.pkey = $.bbq.getState(that.entity_name+'-pkey');
- var label = IPA.metadata.objects[that.entity_name].label;
-
- var title = that.title;
- title = title.replace('${entity}', label);
- title = title.replace('${primary_key}', that.pkey);
-
- that.set_title(container, title);
that.create_controls();
diff --git a/install/ui/entity.js b/install/ui/entity.js
index b24a874e6..4a22c58ab 100644
--- a/install/ui/entity.js
+++ b/install/ui/entity.js
@@ -38,7 +38,6 @@ IPA.facet = function (spec) {
that.disable_breadcrumb = spec.disable_breadcrumb;
that.disable_facet_tabs = spec.disable_facet_tabs;
- that.back_link_text = spec.back_link_text || IPA.messages.buttons.back_to_list;
that.header = spec.header || IPA.facet_header({ facet: that });
@@ -242,7 +241,7 @@ IPA.facet_header = function(spec) {
that.title_container.empty();
var h3 = $('<h3/>').appendTo(that.title_container);
- h3.append(that.facet.entity.title);
+ h3.append(that.facet.title);
h3.append(': ');
$('<span/>', {
@@ -308,10 +307,11 @@ IPA.facet_header = function(spec) {
'class': 'back-link'
}).appendTo(that.breadcrumb);
- that.back_link.append('&laquo; ');
+ var entity = that.facet.entity;
+ while (entity.containing_entity) entity = entity.containing_entity;
$('<a/>', {
- text: that.facet.back_link_text,
+ text: entity.metadata.label,
click: function() {
that.facet.redirect();
return false;
@@ -724,7 +724,7 @@ IPA.entity_builder = function(){
}
if (!facet_group.label) {
- var relationships = IPA.metadata.objects[entity.name].relationships;
+ var relationships = entity.metadata.relationships;
if (relationships) {
var relationship = relationships[facet_group.name];
if (relationship) {
@@ -763,7 +763,7 @@ IPA.entity_builder = function(){
that.search_facet = function(spec) {
spec.entity_name = entity.name;
- spec.title = spec.title || spec.label;
+ spec.title = spec.title || entity.metadata.label;
spec.label = spec.label || IPA.messages.facets.search;
var factory = spec.factory || IPA.search_facet;
@@ -777,6 +777,7 @@ IPA.entity_builder = function(){
that.nested_search_facet = function(spec) {
spec.entity_name = entity.name;
+ spec.title = spec.title || entity.metadata.label_singular;
spec.label = spec.label || IPA.messages.facets.search;
var factory = spec.factory || IPA.nested_search_facet;
@@ -791,7 +792,7 @@ IPA.entity_builder = function(){
var sections = spec.sections;
spec.sections = null;
spec.entity_name = entity.name;
- spec.title = spec.title || spec.label || IPA.messages.details.settings;
+ spec.title = spec.title || entity.metadata.label_singular;
spec.label = spec.label || IPA.messages.facets.details;
var factory = spec.factory || IPA.details_facet;
@@ -838,20 +839,12 @@ IPA.entity_builder = function(){
}
}
+ spec.title = spec.label || entity.metadata.label_singular;
+
spec.label = spec.label ||
(IPA.metadata.objects[spec.other_entity] ?
IPA.metadata.objects[spec.other_entity].label : spec.other_entity);
- if (!spec.title) {
- if (spec.facet_group == 'member' ||
- spec.facet_group == 'memberindirect') {
- spec.title = IPA.messages.association.member;
- } else if (spec.facet_group == 'memberof' ||
- spec.facet_group == 'memberofindirect') {
- spec.title = IPA.messages.association.memberof;
- }
- }
-
var factory = spec.factory || IPA.association_facet;
facet = factory(spec);
entity.add_facet(facet);
@@ -964,10 +957,9 @@ IPA.entity_builder = function(){
spec.name = spec.name || 'add';
if (!spec.title) {
- var messages = IPA.messages.objects[entity.name];
- if (messages) {
- spec.title = messages.add;
- }
+ var title = IPA.messages.dialogs.add_title;
+ var label = entity.metadata.label_singular;
+ spec.title = title.replace('${entity}', label);
}
return that.dialog(spec);
diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index b2a9ffe0c..09585adea 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -925,28 +925,15 @@ span.attrhint {
background-position: -176px -97px;
}
-.ui-dialog .ui-dialog-titlebar-close span {
- background-color: transparent !important;
-}
-
.ui-icon {
/* background-image: url("ui-icons_222222_256x240.png"); */
background-color: #e2e2e2;
display: inline-block;
}
-.ui-dialog .ui-dialog-content {
- /* this should go away once we can fix table scrolling */
- overflow:auto;
-}
.ui-widget-content {
}
-.ui-dialog .ui-dialog-titlebar {
- padding: 0.5em 1em;
- position: relative;
-}
-
a {
text-decoration: none;
color: #1d85d5;
@@ -961,6 +948,26 @@ a {
font-weight: bold;
}
+/* ---- Dialog ---- */
+
+.ui-dialog .ui-dialog-title {
+ text-transform: capitalize;
+}
+
+.ui-dialog .ui-dialog-titlebar-close span {
+ background-color: transparent !important;
+}
+
+.ui-dialog .ui-dialog-content {
+ /* this should go away once we can fix table scrolling */
+ overflow:auto;
+}
+
+.ui-dialog .ui-dialog-titlebar {
+ padding: 0.5em 1em;
+ position: relative;
+}
+
.ui-dialog .ui-dialog-buttonpane button {
cursor: pointer;
margin: 0.5em 0.4em 0.5em 0;
diff --git a/install/ui/search.js b/install/ui/search.js
index 382e26bc5..4f3802781 100644
--- a/install/ui/search.js
+++ b/install/ui/search.js
@@ -56,7 +56,7 @@ IPA.search_facet = function(spec) {
that.table = IPA.table_widget({
'class': 'content-table',
name: 'search',
- label: IPA.metadata.objects[entity.name].label,
+ label: entity.metadata.label,
entity_name: entity.name,
search_all: that.search_all,
scrollable: true,
@@ -188,17 +188,18 @@ IPA.search_facet = function(spec) {
that.remove_instances = function(entity) {
var values = that.get_values();
+ var label = entity.metadata.label;
var title;
if (!values.length) {
title = IPA.messages.dialogs.remove_empty;
- title = title.replace('${entity}', that.label);
+ title = title.replace('${entity}', label);
alert(title);
return;
}
title = IPA.messages.dialogs.remove_title;
- title = title.replace('${entity}', that.label);
+ title = title.replace('${entity}', label);
var dialog = IPA.deleter_dialog({
'title': title,
diff --git a/install/ui/test/data/i18n_messages.json b/install/ui/test/data/i18n_messages.json
deleted file mode 100644
index 004b3fde6..000000000
--- a/install/ui/test/data/i18n_messages.json
+++ /dev/null
@@ -1,293 +0,0 @@
-{
- "error": null,
- "id": 0,
- "result": {
- "messages": {
- "ajax": {
- "401": "Your kerberos ticket is no longer valid. Please run kinit and then click 'Retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser."
- },
- "association": {
- "add": "Add ${other_entity} into ${entity} ${primary_key}",
- "member": "${other_entity} enrolled in ${entity} ${primary_key}",
- "memberof": "${entity} ${primary_key} is enrolled in the following ${other_entity}",
- "remove": "Remove ${other_entity} from ${entity} ${primary_key}"
- },
- "buttons": {
- "add": "Add",
- "add_and_add_another": "Add and Add Another",
- "add_and_close": "Add and Close",
- "add_and_edit": "Add and Edit",
- "add_many": "Add Many",
- "back_to_list": "Back to List",
- "cancel": "Cancel",
- "close": "Close",
- "enroll": "Enroll",
- "find": "Find",
- "get": "Get",
- "issue": "Issue",
- "ok": "OK",
- "remove": "Delete",
- "reset": "Reset",
- "restore": "Restore",
- "retry": "Retry",
- "revoke": "Revoke",
- "update": "Update",
- "view": "View"
- },
- "details": {
- "general": "General",
- "identity": "Identity Settings",
- "settings": "${entity} ${primary_key} Settings",
- "to_top": "Back to Top"
- },
- "dialogs": {
- "available": "Available",
- "dirty_message": "This page has unsaved changes. Please save or revert.",
- "dirty_title": "Dirty",
- "hide_already_enrolled": "Hide already enrolled.",
- "prospective": "Prospective",
- "remove_empty": "Select ${entity} to be removed.",
- "remove_title": "Remove ${entity}."
- },
- "facets": {
- "details": "Settings",
- "search": "Search"
- },
- "login": {
- "header": "Logged In As"
- },
- "objects": {
- "aci": {
- "attribute": "Attribute"
- },
- "automountlocation": {
- "add": "Add Automount Location",
- "identity": "Automount Location Settings"
- },
- "cert": {
- "aa_compromise": "AA Compromise",
- "affiliation_changed": "Affiliation Changed",
- "ca_compromise": "CA Compromise",
- "certificate_hold": "Certificate Hold",
- "cessation_of_operation": "Cessation of Operation",
- "common_name": "Common Name",
- "enter_csr": "Enter the Base64-encoded CSR below",
- "expires_on": "Expires On",
- "fingerprints": "Fingerprints",
- "issue_certificate": "Issue New Certificate for ${entity} ${primary_key}",
- "issued_by": "Issued By",
- "issued_on": "Issued On",
- "issued_to": "Issued To",
- "key_compromise": "Key Compromise",
- "md5_fingerprint": "MD5 Fingerprint",
- "missing": "No Valid Certificate",
- "new_certificate": "New Certificate",
- "note": "Note",
- "organization": "Organization",
- "organizational_unit": "Organizational Unit",
- "privilege_withdrawn": "Privilege Withdrawn",
- "reason": "Reason for Revocation",
- "remove_from_crl": "Remove from CRL",
- "restore_certificate": "Restore Certificate for ${entity} ${primary_key}",
- "restore_confirmation": "To confirm your intention to restore this certificate, click the \"Restore\" button.",
- "revoke_certificate": "Revoke Certificate for ${entity} ${primary_key}",
- "revoke_confirmation": "To confirm your intention to revoke this certificate, select a reason from the pull-down list, and click the \"Revoke\" button.",
- "revoked": "Certificate Revoked",
- "serial_number": "Serial Number",
- "sha1_fingerprint": "SHA1 Fingerprint",
- "superseded": "Superseded",
- "unspecified": "Unspecified",
- "valid": "Valid Certificate Present",
- "validity": "Validity",
- "view_certificate": "Certificate for ${entity} ${primary_key}"
- },
- "config": {
- "cn": "Name",
- "ipaserver": "Configuration"
- },
- "delegation": {
- "add": "Add Delegation"
- },
- "dnsrecord": {
- "add": "Add DNS Resource Record",
- "data": "Data",
- "resource": "Resource",
- "title": "Records for DNS Zone",
- "type": "Type"
- },
- "dnszone": {
- "add": "Add DNS Zone",
- "identity": "DNS Zone Settings"
- },
- "group": {
- "add": "Add Group",
- "details": "Group Settings",
- "posix": "Is this a POSIX group?"
- },
- "hbacrule": {
- "active": "Active",
- "add": "Add HBAC Rule",
- "allow": "Allow",
- "any_host": "Any Host",
- "any_service": "Any Service",
- "anyone": "Anyone",
- "deny": "Deny",
- "host": "Accessing",
- "inactive": "Inactive",
- "ipaenabledflag": "Rule status",
- "service": "Via Service",
- "sourcehost": "From",
- "specified_hosts": "Specified Hosts and Groups",
- "specified_services": "Specified Services and Groups",
- "specified_users": "Specified Users and Groups",
- "user": "Who"
- },
- "hbacsvc": {
- "add": "Add HBAC Service"
- },
- "hbacsvcgroup": {
- "add": "Add HBAC Service Group",
- "services": "Services"
- },
- "host": {
- "add": "Add Host",
- "certificate": "Host Certificate",
- "cn": "Host Name",
- "delete_key_unprovision": "Delete Key, Unprovision",
- "details": "Host Settings",
- "enroll_otp": "Enroll via One-Time-Password",
- "enrolled": "Enrolled?",
- "enrollment": "Enrollment",
- "fqdn": "Fully Qualified Host Name",
- "missing": "Kerberos Key Not Present",
- "otp_confirmation": "One-Time-Password has been set.",
- "posix": "Is this a POSIX group?",
- "set_otp": "Set OTP",
- "status": "Status",
- "unprovision": "Unprovision",
- "unprovision_confirmation": "Are you sure you want to unprovision this host?",
- "unprovision_title": "Unprovisioning ${entity}",
- "valid": "Kerberos Key Present, Host Provisioned"
- },
- "hostgroup": {
- "add": "Add Host Group",
- "identity": "Host Group Settings"
- },
- "krbtpolicy": {
- "identity": "Kerberos ticket policy"
- },
- "netgroup": {
- "add": "Add Netgroup",
- "identity": "Netgroup Settings"
- },
- "permission": {
- "add": "Add Permission",
- "filter": "Filter",
- "identity": "Identity",
- "invalid_target": "Permission with invalid target specification",
- "rights": "Rights",
- "subtree": "By Subtree",
- "target": "Target",
- "targetgroup": "Target Group",
- "type": "Object By Type"
- },
- "privilege": {
- "add": "Add Privilege",
- "identity": "Privilege Settings"
- },
- "pwpolicy": {
- "add": "Add Password Policy",
- "identity": "Password Policy"
- },
- "role": {
- "add": "Add Role",
- "identity": "Role Settings"
- },
- "selfservice": {
- "add": "Add Self Service Definition"
- },
- "service": {
- "add": "Add Service",
- "certificate": "Service Certificate",
- "delete_key_unprovision": "Delete Key, Unprovision",
- "details": "Service Settings",
- "host": "Host Name",
- "missing": "Kerberos Key Not Present",
- "provisioning": "Provisioning",
- "service": "Service",
- "status": "Status",
- "unprovision": "Unprovision",
- "unprovision_confirmation": "Are you sure you want to unprovision this service?",
- "unprovision_title": "Unprovisioning ${entity}",
- "valid": "Kerberos Key Present, Service Provisioned"
- },
- "sudocmd": {
- "add": "Add Sudo Command",
- "groups": "Groups"
- },
- "sudocmdgroup": {
- "add": "Add Sudo Command Group",
- "commands": "Commands"
- },
- "sudorule": {
- "active": "Active",
- "add": "Add Sudo Rule",
- "allow": "Allow",
- "any_command": "Any Command",
- "any_group": "Any Group",
- "any_host": "Any Host",
- "anyone": "Anyone",
- "command": "Run Commands",
- "deny": "Deny",
- "external": "External",
- "host": "Access this host",
- "inactive": "Inactive",
- "ipaenabledflag": "Rule status",
- "runas": "As Whom",
- "specified_commands": "Specified Commands and Groups",
- "specified_groups": "Specified Groups",
- "specified_hosts": "Specified Hosts and Groups",
- "specified_users": "Specified Users and Groups",
- "user": "Who"
- },
- "user": {
- "account": "Account Settings",
- "activate": "Click to Activate",
- "active": "Active",
- "add": "Add User",
- "contact": "Contact Settings",
- "deactivate": "Click to Deactivate",
- "employee": "Employee Information",
- "error_changing_status": "Error changing account status",
- "inactive": "Inactive",
- "mailing": "Mailing Address",
- "misc": "Misc. Information",
- "new_password": "New Password",
- "password_change_complete": "Password change complete",
- "password_must_match": "Passwords must match",
- "repeat_password": "Repeat Password",
- "reset_password": "Reset Password"
- }
- },
- "search": {
- "delete_confirm": "Are you sure you want to delete selected entries?",
- "quick_links": "Quick Links",
- "select_all": "Select All",
- "truncated": "Query returned results than configured size limit will show. First ${counter} results shown.",
- "unselect_all": "Unselect All"
- },
- "tabs": {
- "audit": "Audit",
- "hbac": "HBAC",
- "identity": "Identity",
- "ipaserver": "IPA Server",
- "policy": "Policy",
- "role": "Role Based Access Control",
- "sudo": "Sudo"
- },
- "widget": {
- "validation_error": "Text does not match field pattern"
- }
- }
- }
-}
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 94bd68868..914240367 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -9464,7 +9464,7 @@
},
"delegation": {
"bindable": false,
- "label": "Delegation",
+ "label": "Delegations",
"label_singular": "delegation",
"methods": [
"add",
@@ -9686,7 +9686,7 @@
"objectclass",
"aci"
],
- "label": "DNS resource record",
+ "label": "DNS Resource Records",
"label_singular": "DNS resource record",
"methods": [
"add",
@@ -9904,7 +9904,7 @@
"objectclass",
"aci"
],
- "label": "DNS",
+ "label": "DNS Zones",
"label_singular": "DNS zone",
"methods": [
"add",
@@ -10588,7 +10588,7 @@
"objectclass",
"aci"
],
- "label": "HBAC Rule",
+ "label": "HBAC Rules",
"label_singular": "HBAC rule",
"methods": [
"add",
@@ -11239,7 +11239,7 @@
"objectclass",
"aci"
],
- "label": "HBAC service Groups",
+ "label": "HBAC Service Groups",
"label_singular": "HBAC service group",
"methods": [
"add",
@@ -12772,7 +12772,7 @@
"objectclass",
"aci"
],
- "label": "Password Policy",
+ "label": "Password Policies",
"label_singular": "password policy",
"methods": [
"add",
@@ -13090,7 +13090,7 @@
"objectclass",
"aci"
],
- "label": "Role",
+ "label": "Roles",
"label_singular": "role",
"methods": [
"add",
@@ -13803,7 +13803,7 @@
"objectclass",
"aci"
],
- "label": "Sudo Rule",
+ "label": "Sudo Rules",
"label_singular": "sudo rule",
"methods": [
"add",
@@ -15339,8 +15339,6 @@
},
"association": {
"add": "Add ${other_entity} into ${entity} ${primary_key}",
- "member": "${other_entity} enrolled in ${entity} ${primary_key}",
- "memberof": "${entity} ${primary_key} is enrolled in the following ${other_entity}",
"remove": "Remove ${other_entity} from ${entity} ${primary_key}"
},
"buttons": {
@@ -15349,7 +15347,6 @@
"add_and_close": "Add and Close",
"add_and_edit": "Add and Edit",
"add_many": "Add Many",
- "back_to_list": "Back to List",
"cancel": "Cancel",
"close": "Close",
"enroll": "Enroll",
@@ -15372,13 +15369,14 @@
"to_top": "Back to Top"
},
"dialogs": {
+ "add_title": "Add ${entity}",
"available": "Available",
"dirty_message": "This page has unsaved changes. Please save or revert.",
"dirty_title": "Dirty",
"hide_already_enrolled": "Hide already enrolled.",
"prospective": "Prospective",
"remove_empty": "Select ${entity} to be removed.",
- "remove_title": "Remove ${entity}."
+ "remove_title": "Remove ${entity}"
},
"facet_groups": {
"managedby": "Managed by",
@@ -15400,14 +15398,12 @@
"attribute": "Attribute"
},
"automountkey": {
- "add": "Add Automount Key"
},
"automountlocation": {
"add": "Add Automount Location",
"identity": "Automount Location Settings"
},
"automountmap": {
- "add": "Add Automount Map"
},
"cert": {
"aa_compromise": "AA Compromise",
@@ -15451,27 +15447,22 @@
"ipaserver": "Configuration"
},
"delegation": {
- "add": "Add Delegation"
},
"dnsrecord": {
- "add": "Add DNS Resource Record",
"data": "Data",
"resource": "Resource",
"title": "Records for DNS Zone",
"type": "Type"
},
"dnszone": {
- "add": "Add DNS Zone",
"identity": "DNS Zone Settings"
},
"group": {
- "add": "Add Group",
"details": "Group Settings",
"posix": "Is this a POSIX group?"
},
"hbacrule": {
"active": "Active",
- "add": "Add HBAC Rule",
"allow": "Allow",
"any_host": "Any Host",
"any_service": "Any Service",
@@ -15488,14 +15479,11 @@
"user": "Who"
},
"hbacsvc": {
- "add": "Add HBAC Service"
},
"hbacsvcgroup": {
- "add": "Add HBAC Service Group",
"services": "Services"
},
"host": {
- "add": "Add Host",
"certificate": "Host Certificate",
"cn": "Host Name",
"delete_key_unprovision": "Delete Key, Unprovision",
@@ -15515,18 +15503,15 @@
"valid": "Kerberos Key Present, Host Provisioned"
},
"hostgroup": {
- "add": "Add Host Group",
"identity": "Host Group Settings"
},
"krbtpolicy": {
"identity": "Kerberos ticket policy"
},
"netgroup": {
- "add": "Add Netgroup",
"identity": "Netgroup Settings"
},
"permission": {
- "add": "Add Permission",
"filter": "Filter",
"identity": "Identity",
"invalid_target": "Permission with invalid target specification",
@@ -15537,22 +15522,17 @@
"type": "Object By Type"
},
"privilege": {
- "add": "Add Privilege",
"identity": "Privilege Settings"
},
"pwpolicy": {
- "add": "Add Password Policy",
"identity": "Password Policy"
},
"role": {
- "add": "Add Role",
"identity": "Role Settings"
},
"selfservice": {
- "add": "Add Self Service Definition"
},
"service": {
- "add": "Add Service",
"certificate": "Service Certificate",
"delete_key_unprovision": "Delete Key, Unprovision",
"details": "Service Settings",
@@ -15567,16 +15547,13 @@
"valid": "Kerberos Key Present, Service Provisioned"
},
"sudocmd": {
- "add": "Add Sudo Command",
"groups": "Groups"
},
"sudocmdgroup": {
- "add": "Add Sudo Command Group",
"commands": "Commands"
},
"sudorule": {
"active": "Active",
- "add": "Add Sudo Rule",
"allow": "Allow",
"any_command": "Any Command",
"any_group": "Any Group",
@@ -15599,7 +15576,6 @@
"account": "Account Settings",
"activate": "Click to Activate",
"active": "Active",
- "add": "Add User",
"contact": "Contact Settings",
"deactivate": "Click to Deactivate",
"employee": "Employee Information",
@@ -15624,6 +15600,7 @@
"tabs": {
"audit": "Audit",
"automount": "Automount",
+ "dns": "DNS",
"hbac": "Host Based Access Control",
"identity": "Identity",
"ipaserver": "IPA Server",
diff --git a/install/ui/webui.js b/install/ui/webui.js
index 5dc2cead6..72f9f729c 100644
--- a/install/ui/webui.js
+++ b/install/ui/webui.js
@@ -42,7 +42,7 @@ IPA.admin_navigation = function(spec) {
{entity: 'service'}
]},
{name: 'policy', label: IPA.messages.tabs.policy, children: [
- {entity: 'dnszone'},
+ {entity: 'dnszone', label: IPA.messages.tabs.dns},
{name: 'hbac', label: IPA.messages.tabs.hbac, children: [
{entity: 'hbacrule'},
{entity: 'hbacsvc'},
@@ -54,8 +54,8 @@ IPA.admin_navigation = function(spec) {
{entity: 'sudocmdgroup'}
]},
{entity: 'automountlocation', label: IPA.messages.tabs.automount},
- {entity: 'automountmap',hidden:true},
- {entity: 'automountkey',hidden:true},
+ {entity: 'automountmap', hidden: true},
+ {entity: 'automountkey', hidden: true},
{entity: 'pwpolicy'},
{entity: 'krbtpolicy'}
]},