summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/widgets
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-10-16 19:55:42 +0200
committerMartin Kosek <mkosek@redhat.com>2014-01-21 12:04:02 +0100
commit77a56b7f875100de2c0803b5b23098bdb2715adb (patch)
treea1fd512585561123c263fd533935065d1c74ad95 /install/ui/src/freeipa/widgets
parenta0d3d5a2954ffe0cfdf1a6057608f2995afba9b7 (diff)
downloadfreeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.tar.gz
freeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.tar.xz
freeipa-77a56b7f875100de2c0803b5b23098bdb2715adb.zip
Adapt password expiration notification to new navigation
https://fedorahosted.org/freeipa/ticket/3902
Diffstat (limited to 'install/ui/src/freeipa/widgets')
-rw-r--r--install/ui/src/freeipa/widgets/App.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/widgets/App.js b/install/ui/src/freeipa/widgets/App.js
index 42705649f..2678ff9d1 100644
--- a/install/ui/src/freeipa/widgets/App.js
+++ b/install/ui/src/freeipa/widgets/App.js
@@ -191,6 +191,8 @@ define(['dojo/_base/declare',
this.emit('profile-click');
} else if (item.name === 'logout') {
this.emit('logout-click');
+ } else if (item.name == 'password_reset') {
+ this.emit('password-reset-click');
}
},
@@ -206,6 +208,10 @@ define(['dojo/_base/declare',
label: 'Profile'
},
{
+ name: 'password_reset',
+ label: 'Change password'
+ },
+ {
'class': 'divider'
},
{