forked from rero/rero-ils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
interface: keep the viewcode in the urls
The change of the user's data as well as the change of the password has been transferred to the Angular user profile. * Adds functionality for editing user data in angular. * Adds functionality to change user password in angular. * Closes rero#2000. * Closes rero#2101. * Closes rero#2195. Co-Authored-by: Bertrand Zuchuat <[email protected]>
- Loading branch information
1 parent
b194bfa
commit fdb4460
Showing
17 changed files
with
360 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
rero_ils/modules/users/templates/rero_ils/user_password.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{# -*- coding: utf-8 -*- | ||
|
||
RERO ILS | ||
Copyright (C) 2022 RERO | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, version 3 of the License. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#} | ||
{% extends 'rero_ils/page.html' %} | ||
|
||
{%- block body %} | ||
<h1 class="mt-2">{{ _('Change password') }}</h1> | ||
<public-user-password-change referer="{{ request.referrer }}"></public-user-password-change> | ||
{%- endblock body %} | ||
|
||
{%- block javascript %} | ||
{{ webpack['reroils_public.js']}} | ||
{{ node_assets('@rero/rero-ils-ui/dist/public-user-password-change', patterns=['polyfills-es5*.js','main-es5*.js'], tags='nomodule defer') }} | ||
{{ node_assets('@rero/rero-ils-ui/dist/public-user-password-change', patterns=['polyfills-es2015*.js','main-es2015*.js'], tags='type="module"') }} | ||
{%- endblock javascript %} |
30 changes: 30 additions & 0 deletions
30
rero_ils/modules/users/templates/rero_ils/user_profile.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{# -*- coding: utf-8 -*- | ||
|
||
RERO ILS | ||
Copyright (C) 2022 RERO | ||
|
||
This program is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published by | ||
the Free Software Foundation, version 3 of the License. | ||
|
||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
|
||
You should have received a copy of the GNU Affero General Public License | ||
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#} | ||
{% extends 'rero_ils/page.html' %} | ||
|
||
{%- block body %} | ||
<h1 class="mt-2">{{ _('Profile') }}</h1> | ||
<public-user-profile-edit referer="{{ request.referrer }}"></public-user-profile-edit> | ||
{%- endblock body %} | ||
|
||
{%- block javascript %} | ||
{{ webpack['reroils_public.js']}} | ||
{{ node_assets('@rero/rero-ils-ui/dist/public-user-profile-edit', patterns=['polyfills-es5*.js','main-es5*.js'], tags='nomodule defer') }} | ||
{{ node_assets('@rero/rero-ils-ui/dist/public-user-profile-edit', patterns=['polyfills-es2015*.js','main-es2015*.js'], tags='type="module"') }} | ||
{%- endblock javascript %} |
Oops, something went wrong.