Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Repository

Switch branch/tag
  • erp5
  • product
  • ERP5
  • Document
  • WebSection.py
Find file BlameHistoryPermalink
  • Xiaowu Zhang's avatar
    erp5_web&erp5_web_ui_test: do redirect when portal_skin is present · 61c39f48
    Xiaowu Zhang authored Oct 29, 2021
    If ignore_layout=1 is present in url query, static web section show the default view so user can modify properties
    
    But for url like
    https://erp5/web_site_module/static_web_site/web_page_module/111?ignore_layout:int=1&portal_skin=Slide...
    static web section should do redirection instead of showing the default view
    
    It's difficult to distinguish if it should do redirection or show the
    default view for all kinds of url
    
    To make it simple, if portal_skin is present in url query, static web
    section will do redirection event if ignore_layout is present
    61c39f48
WebSection.py 2.31 KB
EditWeb IDE

Replace WebSection.py

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7