RFE: Add a cancel button to the edit profile screen
This commit is contained in:
parent
6bf0464713
commit
bcc66cb6cb
3 changed files with 8 additions and 3 deletions
|
|
@ -56,6 +56,7 @@
|
|||
- rfe: Added sort order to Folder assets
|
||||
- rfe: Added canEdit and canAddFile template vars to Folder assets
|
||||
- rfe: Add logged-in time to Login History
|
||||
- rfe: cancel button (for edit profile screen)
|
||||
|
||||
7.5.22
|
||||
- fixed: Layout template now gets prepared correctly
|
||||
|
|
|
|||
BIN
docs/upgrades/packages-7.6.0/default_edit_profile_template.wgpkg
Normal file
BIN
docs/upgrades/packages-7.6.0/default_edit_profile_template.wgpkg
Normal file
Binary file not shown.
|
|
@ -225,12 +225,16 @@ sub www_editProfile {
|
|||
});
|
||||
}
|
||||
push(@array, {
|
||||
'profile.form.category' => $category->getLabel,
|
||||
'profile.form.category.loop' => \@temp
|
||||
});
|
||||
'profile.form.category' => $category->getLabel,
|
||||
'profile.form.category.loop' => \@temp
|
||||
});
|
||||
}
|
||||
$vars->{'profile.form.elements'} = \@array;
|
||||
$vars->{'profile.form.submit'} = WebGUI::Form::submit($session,{});
|
||||
$vars->{'profile.form.cancel'} = WebGUI::Form::button($session,{
|
||||
value => $i18n->get('cancel'),
|
||||
extras=>q|onclick="history.go(-1);" class="backwardButton"|,
|
||||
});
|
||||
$vars->{'profile.accountOptions'} = WebGUI::Operation::Shared::accountOptions($session);
|
||||
return $session->style->userStyle(WebGUI::Asset::Template->new($session, $session->setting->get('editUserProfileTemplate'))->process($vars));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue