Skip to content

Commit

Permalink
[IMP] web_responsive: Redirect to home after login
Browse files Browse the repository at this point in the history
Redirect to the home page after login will occur only if the user has enabled the 'Redirect to Home' configuration in their user profile settings.
  • Loading branch information
Patelangel1995 committed Jul 17, 2024
1 parent 6bdafd1 commit f1dbac4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion web_responsive/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ This module adds responsiveness to web backend.

**Features for all devices**:

- Redirect to the dashboard after logging in
- Redirect to the dashboard after logging in. Users will only be
redirected to the home page after login if they have enabled the
'Redirect to Home' option in their profile settings.

|image|

Expand Down
5 changes: 4 additions & 1 deletion web_responsive/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ This module adds responsiveness to web backend.

**Features for all devices**:

- Redirect to the dashboard after logging in. Users will only be redirected to the home page after login if they have enabled the 'Redirect to Home' option in their profile settings.
- Redirect to the dashboard after logging in.
Users will only be redirected to the home page after login
if they have enabled the 'Redirect to Home' option in
their profile settings.

![image](../static/img/redirecthome.gif)

Expand Down
4 changes: 3 additions & 1 deletion web_responsive/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ <h1 class="title">Web Responsive</h1>
<p>This module adds responsiveness to web backend.</p>
<p><strong>Features for all devices</strong>:</p>
<ul>
<li><p class="first">Redirect to the dashboard after logging in</p>
<li><p class="first">Redirect to the dashboard after logging in. Users will only be
redirected to the home page after login if they have enabled the
‘Redirect to Home’ option in their profile settings.</p>
<p><img alt="image" src="https://raw.githubusercontent.com/OCA/web/17.0/web_responsive/static/img/redirecthome.gif" /></p>
</li>
<li><p class="first">New navigation with the fullscreen app menu</p>
Expand Down

0 comments on commit f1dbac4

Please sign in to comment.