diff options
author | Andy Staudacher <andy.st@gmail.com> | 2010-02-07 16:56:19 -0800 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2010-02-07 16:56:19 -0800 |
commit | 9695041a86ffeb1bfc5ced654cb04a9833eb9288 (patch) | |
tree | 48273ade8fe5b94fa45298320d1d805c45c07c13 /modules | |
parent | 8fc346e9b67204c31e2bfeb59a5cbaa49e308085 (diff) |
Change welcome message dialog to link to the user_profile page instead of the change user dialog.
a) the edit user form doesn't include the password anymore
b) the new admin would probably also like to change the email, so directing him to the profile page with options to change the pw / email.
Ideally, we'd have a special purpose edit profile page for the install experience, without prompting for the randomly generated password. But that's something for another task.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gallery/views/welcome_message.html.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php index 24d01bab..caeeff66 100644 --- a/modules/gallery/views/welcome_message.html.php +++ b/modules/gallery/views/welcome_message.html.php @@ -15,15 +15,12 @@ </p> <p> - <a href="<?= url::site("form/edit/users/{$user->id}") ?>" + <a href="<?= url::site("user_profile/show/{$user->id}") ?>" title="<?= t("Edit your profile")->for_html_attr() ?>" id="g-after-install-change-password-link" class="g-button ui-state-default ui-corners-all"> - <?= t("Change password now") ?> + <?= t("Change password and email now") ?> </a> - <script type="text/javascript"> - $("#g-after-install-change-password-link").gallery_dialog(); - </script> </p> <p> |