From d3f74d2b7cee01001e6ede2ba59dcb34522b59cf Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 6 May 2011 15:32:51 -0400 Subject: 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. --- install/ui/navigation.js | 6 +++--- install/ui/webui.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'install') 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; + } } $('
  • ').append($('', { 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'} ]}]; -- cgit