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 authored and Adam Young committed 2011-05-06 16:14:21 -04:00
1 parent d1fd695467
commit d3f74d2b7c
2 files changed
+4 -4

No files matched your search

+3 -3
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/>', {
+1 -1
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'}
]}];