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.
This commit is contained in:
Endi S. Dewata
2011-05-06 15:32:51 -04:00
committed by Adam Young
parent d1fd695467
commit d3f74d2b7c
2 changed files with 4 additions and 4 deletions

View File

@@ -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/>', {

View File

@@ -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'}
]}];