Skip to content

Commit

Permalink
[IMP] website_menu_by_user_status: pre-commit auto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NICO-SOLUTIONS committed Jul 18, 2024
1 parent e20b6a9 commit 9c07637
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 46 deletions.
45 changes: 23 additions & 22 deletions website_menu_by_user_status/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ Website Menu By User Display
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/14.0/website_menu_by_user_status
:target: https://github.com/OCA/website/tree/17.0/website_menu_by_user_status
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_menu_by_user_status
:target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_menu_by_user_status
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=14.0
:target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=17.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

The module manages display website menu entries, depending if the user is
logged or not.
The selection of the display status can be chosen logged and/or not.
The module manages display website menu entries, depending if the user
is logged or not. The selection of the display status can be chosen
logged and/or not.

**Table of contents**

Expand All @@ -42,46 +42,47 @@ Usage

To use this module, you need to:

#. Go to Website > Configuration > Settings > Pages.
#. Select the page for which you would like to hide the menu.
#. In the `Related Menu Items` table, check whether the menu item is visible for logged/unlogged users.

#. remove default filter to edit website menu line
1. Go to Website > Configuration > Settings > Pages.
2. Select the page for which you would like to hide the menu.
3. In the Related Menu Items table, check whether the menu item is
visible for logged/unlogged users.
4. remove default filter to edit website menu line

Known issues / Roadmap
======================

* 2 flags will just toggle specific groups automatically [based on https://github.com/OCA/website/tree/11.0/website_menu_permission]
- 2 flags will just toggle specific groups automatically [based on
https://github.com/OCA/website/tree/11.0/website_menu_permission]

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_menu_by_user_status%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`feedback <https://github.com/OCA/website/issues/new?body=module:%20website_menu_by_user_status%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~
-------

* Savoir-faire Linux

Contributors
~~~~~~~~~~~~
------------

* Bruno Joliveau <[email protected]>
* Jordi Riera <[email protected]>
* Meyomesse Gilles <[email protected]>
* David Dufresne
* Kaushal Prajapati <[email protected]>
- Bruno Joliveau <[email protected]>
- Jordi Riera <[email protected]>
- Meyomesse Gilles <[email protected]>
- David Dufresne
- Kaushal Prajapati <[email protected]>

Maintainers
~~~~~~~~~~~
-----------

This module is maintained by the OCA.

Expand All @@ -93,6 +94,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/website <https://github.com/OCA/website/tree/14.0/website_menu_by_user_status>`_ project on GitHub.
This module is part of the `OCA/website <https://github.com/OCA/website/tree/17.0/website_menu_by_user_status>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions website_menu_by_user_status/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
5 changes: 5 additions & 0 deletions website_menu_by_user_status/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- Bruno Joliveau \<<[email protected]>\>
- Jordi Riera \<<[email protected]>\>
- Meyomesse Gilles \<<[email protected]>\>
- David Dufresne
- Kaushal Prajapati \<<[email protected]>\>
5 changes: 0 additions & 5 deletions website_menu_by_user_status/readme/CONTRIBUTORS.rst

This file was deleted.

3 changes: 3 additions & 0 deletions website_menu_by_user_status/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The module manages display website menu entries, depending if the user
is logged or not. The selection of the display status can be chosen
logged and/or not.
3 changes: 0 additions & 3 deletions website_menu_by_user_status/readme/DESCRIPTION.rst

This file was deleted.

2 changes: 2 additions & 0 deletions website_menu_by_user_status/readme/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- 2 flags will just toggle specific groups automatically \[based on
<https://github.com/OCA/website/tree/11.0/website_menu_permission>\]
1 change: 0 additions & 1 deletion website_menu_by_user_status/readme/ROADMAP.rst

This file was deleted.

7 changes: 7 additions & 0 deletions website_menu_by_user_status/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
To use this module, you need to:

1. Go to Website \> Configuration \> Settings \> Pages.
2. Select the page for which you would like to hide the menu.
3. In the Related Menu Items table, check whether the menu item is
visible for logged/unlogged users.
4. remove default filter to edit website menu line
7 changes: 0 additions & 7 deletions website_menu_by_user_status/readme/USAGE.rst

This file was deleted.

18 changes: 10 additions & 8 deletions website_menu_by_user_status/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -369,10 +369,10 @@ <h1 class="title">Website Menu By User Display</h1>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a2ff455071078badb7f6294ce0f6ac5e994792077e5e29a49ff0fa8bec350232
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/website/tree/14.0/website_menu_by_user_status"><img alt="OCA/website" src="https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_menu_by_user_status"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/website&amp;target_branch=14.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>The module manages display website menu entries, depending if the user is
logged or not.
The selection of the display status can be chosen logged and/or not.</p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/website/tree/17.0/website_menu_by_user_status"><img alt="OCA/website" src="https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_menu_by_user_status"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/website&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>The module manages display website menu entries, depending if the user
is logged or not. The selection of the display status can be chosen
logged and/or not.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
Expand All @@ -393,22 +393,24 @@ <h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<ol class="arabic simple">
<li>Go to Website &gt; Configuration &gt; Settings &gt; Pages.</li>
<li>Select the page for which you would like to hide the menu.</li>
<li>In the <cite>Related Menu Items</cite> table, check whether the menu item is visible for logged/unlogged users.</li>
<li>In the Related Menu Items table, check whether the menu item is
visible for logged/unlogged users.</li>
<li>remove default filter to edit website menu line</li>
</ol>
</div>
<div class="section" id="known-issues-roadmap">
<h1><a class="toc-backref" href="#toc-entry-2">Known issues / Roadmap</a></h1>
<ul class="simple">
<li>2 flags will just toggle specific groups automatically [based on <a class="reference external" href="https://github.com/OCA/website/tree/11.0/website_menu_permission">https://github.com/OCA/website/tree/11.0/website_menu_permission</a>]</li>
<li>2 flags will just toggle specific groups automatically [based on
<a class="reference external" href="https://github.com/OCA/website/tree/11.0/website_menu_permission">https://github.com/OCA/website/tree/11.0/website_menu_permission</a>]</li>
</ul>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-3">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/website/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/website/issues/new?body=module:%20website_menu_by_user_status%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<a class="reference external" href="https://github.com/OCA/website/issues/new?body=module:%20website_menu_by_user_status%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
Expand Down Expand Up @@ -436,7 +438,7 @@ <h2><a class="toc-backref" href="#toc-entry-7">Maintainers</a></h2>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/website/tree/14.0/website_menu_by_user_status">OCA/website</a> project on GitHub.</p>
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/website/tree/17.0/website_menu_by_user_status">OCA/website</a> project on GitHub.</p>
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
</div>
</div>
Expand Down

0 comments on commit 9c07637

Please sign in to comment.