-
- Downloads
[IMP] account, portal, *: Move pager in breadcrump
*project/purchase/sale/website_quote Before this commit: Some module having a portal page (Quotation, SO, Purchase..) would display a pager in the page, sometimes on the document header, sometimes in the middle of it. Every template would have to t-call the `portal.record_pager`. Now: The generic portal breadcrump will now display the pager directly on the top right. It means every portal template setting `prev_record` and/or `next_record` will automatically have the pager displayed without having to call it. Plus, it will be displayed at the same position for every template, making the behavior more consistent. Plus, it will also remove the background color from the breadcrump and hide the home button when you are already on the home page. opw-39876
Showing
- addons/account/controllers/portal.py 8 additions, 4 deletionsaddons/account/controllers/portal.py
- addons/account/views/account_portal_templates.xml 0 additions, 10 deletionsaddons/account/views/account_portal_templates.xml
- addons/portal/static/src/scss/portal.scss 5 additions, 0 deletionsaddons/portal/static/src/scss/portal.scss
- addons/portal/static/src/xml/portal_chatter.xml 2 additions, 1 deletionaddons/portal/static/src/xml/portal_chatter.xml
- addons/portal/views/portal_templates.xml 3 additions, 2 deletionsaddons/portal/views/portal_templates.xml
- addons/project/views/project_portal_templates.xml 0 additions, 2 deletionsaddons/project/views/project_portal_templates.xml
- addons/purchase/views/portal_templates.xml 0 additions, 1 deletionaddons/purchase/views/portal_templates.xml
- addons/sale/views/sale_portal_templates.xml 0 additions, 1 deletionaddons/sale/views/sale_portal_templates.xml
- addons/website_quote/views/website_quote_templates.xml 0 additions, 3 deletionsaddons/website_quote/views/website_quote_templates.xml
Loading
Please register or sign in to comment