[IMP] website, website_*: improve edit in backend feature
*base, website_blog, website_event, website_forum, website_slides With this commit: 1. It is now possible to add the 'Edit in backend' entry in the frontend navbar for any desired model, not only the ones which have the published mixin. It will simply redirect to the main_object form view. This commit add it to Forum and Blog. 2. When clicking on 'Edit in backend', it is now possible to land on another module than Website. That's especially useful for events and slides which are not directly related to the website module as they have their own module. 3. Remove the custom Edit in backend from the forum homepage (fa-cog). Opportunity was also taken to remove the 'edit welcome message'. It will now be editable through the editor (welcome message will appear in edit mode). Thus we got rid of the custom edit welcome message controller and views. Closes #36325
Showing
- addons/website/models/ir_ui_view.py 8 additions, 6 deletionsaddons/website/models/ir_ui_view.py
- addons/website/views/website_navbar_templates.xml 2 additions, 2 deletionsaddons/website/views/website_navbar_templates.xml
- addons/website_blog/controllers/main.py 1 addition, 0 deletionsaddons/website_blog/controllers/main.py
- addons/website_event/models/event.py 3 additions, 0 deletionsaddons/website_event/models/event.py
- addons/website_forum/controllers/main.py 1 addition, 4 deletionsaddons/website_forum/controllers/main.py
- addons/website_forum/views/website_forum.xml 1 addition, 30 deletionsaddons/website_forum/views/website_forum.xml
- addons/website_slides/controllers/main.py 2 additions, 0 deletionsaddons/website_slides/controllers/main.py
- addons/website_slides/models/slide_channel.py 3 additions, 0 deletionsaddons/website_slides/models/slide_channel.py
- addons/website_slides/models/slide_slide.py 3 additions, 0 deletionsaddons/website_slides/models/slide_slide.py
- addons/website_slides/views/website_slides_templates_course.xml 0 additions, 2 deletions.../website_slides/views/website_slides_templates_course.xml
- addons/website_slides/views/website_slides_templates_lesson.xml 0 additions, 1 deletion.../website_slides/views/website_slides_templates_lesson.xml
- addons/website_slides/views/website_slides_templates_lesson_fullscreen.xml 0 additions, 1 deletion...ides/views/website_slides_templates_lesson_fullscreen.xml
Loading
Please register or sign in to comment