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:
1 parent
d1fd695467
commit
d3f74d2b7c
2 files changed
+4
-4
No files matched your search
@@ -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
@@ -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'}
|
||||
]}];
|
||||
|
||||
Reference in new issue
Block a user