diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index c28d5ddf3..70f7932d5 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -23,6 +23,7 @@ - Survey editor now keeps survey objects in a scrollable panel to keep buttons always in view. - fixed #10198: Cannot drag assets to new positions on page - fixed #10190: Matrix 2.0 - Strange characters in "Show Ratings" box + - rfe: #10002: User Manager, view User's Account 7.7.3 - fixed #10094: double explanation in thread help diff --git a/lib/WebGUI/Operation/User.pm b/lib/WebGUI/Operation/User.pm index 083118a18..bb660c615 100644 --- a/lib/WebGUI/Operation/User.pm +++ b/lib/WebGUI/Operation/User.pm @@ -79,6 +79,8 @@ sub _submenu { || $userId eq "new") { $ac->addSubmenuItem($session->url->page("op=editUser;uid=$userId"), $i18n->get(457)); $ac->addSubmenuItem($session->url->page("op=becomeUser;uid=$userId"), $i18n->get(751)); + my $user = WebGUI::User->new($session, $userId); + $ac->addSubmenuItem($user->getProfileUrl(), $i18n->get('view profile')); $ac->addConfirmedSubmenuItem($session->url->page("op=deleteUser;uid=$userId"), $i18n->get(750), $i18n->get(167)); if ($session->setting->get("useKarma")) { $ac->addSubmenuItem($session->url->page("op=editUserKarma;uid=$userId"), $i18n->get(555)); diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index d03c5185c..a03ff435a 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -961,6 +961,12 @@ to add or remove users from their groups. lastUpdated => 1036864905 }, + 'view profile' => { + message => q|View user's profile.|, + context => q|Label for a URL to view the profile for the user. Used in Operation/User.pm|, + lastUpdated => 1239926712 + }, + '60' => { message => q|Are you certain you want to deactivate your account. If you proceed your account information will be lost permanently.|, lastUpdated => 1031514049