summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/navigation.js6
-rw-r--r--install/ui/webui.js2
2 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/navigation.js b/install/ui/navigation.js
index 2fd3e513f..837cef180 100644
--- a/install/ui/navigation.js
+++ b/install/ui/navigation.js
@@ -145,10 +145,10 @@ IPA.navigation = function(spec) {
continue;
}
tab.entity = entity;
- }
- if (!tab.label) {
- tab.label = entity.label;
+ if (!tab.label) {
+ tab.label = entity.label;
+ }
}
$('<li/>').append($('<a/>', {
diff --git a/install/ui/webui.js b/install/ui/webui.js
index a44b9f0e6..ae9a6db84 100644
--- a/install/ui/webui.js
+++ b/install/ui/webui.js
@@ -77,7 +77,7 @@ IPA.self_serv_navigation = function(spec) {
spec = spec || {};
spec.tabs = [
- {name: 'identity', children: [
+ {name: 'identity', label: IPA.messages.tabs.identity, children: [
{entity: 'user'},
{entity: 'group'}
]}];