mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
committed by
Adam Young
parent
d1fd695467
commit
d3f74d2b7c
@@ -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/>', {
|
||||
|
||||
@@ -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