summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-05-06 15:32:51 -0400
committerAdam Young <ayoung@redhat.com>2011-05-06 16:14:21 -0400
commitd3f74d2b7cee01001e6ede2ba59dcb34522b59cf (patch)
treebb723dc5fdfd646f209c8ed49d6d065b112b5788
parentd1fd695467b9e831f0a774605b0d44cd009230fe (diff)
downloadfreeipa-d3f74d2b7cee01001e6ede2ba59dcb34522b59cf.tar.gz
freeipa-d3f74d2b7cee01001e6ede2ba59dcb34522b59cf.tar.xz
freeipa-d3f74d2b7cee01001e6ede2ba59dcb34522b59cf.zip
Fixed self-service UI.
The Identity tab for self-service UI was missing a label and there was a bug in navigation.js that was exposed because of that.
-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'}
]}];