Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joshua
erp5
Commits
0881ff56
Commit
0881ff56
authored
6 years ago
by
Jérome Perrin
Browse files
Options
Download
Email Patches
Plain Diff
fixup! web: no need initialize web site languages
parent
9de12155
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_init.py
...eb/SkinTemplateItem/portal_skins/erp5_web/WebSite_init.py
+2
-0
No files found.
bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/WebSite_init.py
View file @
0881ff56
...
...
@@ -6,4 +6,6 @@
context
.
setContainerLayout
(
'erp5_web_layout'
)
context
.
setContentLayout
(
'erp5_web_content_layout'
)
context
.
setLayoutConfigurationFormId
(
'WebSection_viewDefaultThemeConfiguration'
)
# At least one available language is required
context
.
setAvailableLanguageSet
([
context
.
Localizer
.
get_selected_language
()])
context
.
setStaticLanguageSelection
(
1
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment