Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Gambier
erp5
Commits
df22f981
Commit
df22f981
authored
Jun 25, 2021
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_js_style: get the layout property from the web section
parent
dd1e900e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
...ateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
+3
-3
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
...plateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
+3
-3
No files found.
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/dialog_main.zpt
View file @
df22f981
...
...
@@ -10,18 +10,18 @@
dialog_category python: '';
web_site python: here.getWebSiteValue();
web_section python: here.getWebSectionValue();
no_style_gadget_url python: web_s
ite
.getLayoutProperty('configuration_style_gadget_url', default='');
no_style_gadget_url python: web_s
ection
.getLayoutProperty('configuration_style_gadget_url', default='');
global_definitions_macros here/global_definitions/macros;"
>
<tal:block
metal:use-macro=
"global_definitions_macros/header_definitions"
/>
<html>
<head>
<base
tal:attributes=
"href python: '%s/' % web_section.absolute_url()"
/>
<meta
name=
"viewport"
content=
"width=device-width,height=device-height,initial-scale=1"
/>
<title
tal:content=
"python: here.getTranslatedTitle() or web_s
ite
.getTranslatedTitle()"
></title>
<title
tal:content=
"python: here.getTranslatedTitle() or web_s
ection
.getTranslatedTitle()"
></title>
<noscript>
<link
rel=
"stylesheet"
href=
"jsstyle.css"
>
</noscript>
<tal:block
tal:define=
"favicon_url python: web_s
ite
.getLayoutProperty('configuration_favicon_url', default='')"
tal:condition=
"favicon_url"
>
<tal:block
tal:define=
"favicon_url python: web_s
ection
.getLayoutProperty('configuration_favicon_url', default='')"
tal:condition=
"favicon_url"
>
<link
rel=
"icon"
tal:attributes=
"href favicon_url"
/>
</tal:block>
<!-- Prevent conflicts with Web Page reference provided by erp5_web_renderjs_ui -->
...
...
bt5/erp5_web_js_style/SkinTemplateItem/portal_skins/erp5_web_js_style_ui/view_main.zpt
View file @
df22f981
...
...
@@ -9,18 +9,18 @@
dummy python: request.set('editable_mode', False);
web_site python: here.getWebSiteValue();
web_section python: here.getWebSectionValue();
no_style_gadget_url python: web_s
ite
.getLayoutProperty('configuration_style_gadget_url', default='');
no_style_gadget_url python: web_s
ection
.getLayoutProperty('configuration_style_gadget_url', default='');
global_definitions_macros here/global_definitions/macros;"
>
<tal:block
metal:use-macro=
"global_definitions_macros/header_definitions"
/>
<html>
<head>
<base
tal:attributes=
"href python: '%s/' % web_section.absolute_url()"
/>
<meta
name=
"viewport"
content=
"width=device-width,height=device-height,initial-scale=1"
/>
<title
tal:content=
"python: here.getTranslatedTitle() or web_s
ite
.getTranslatedTitle()"
></title>
<title
tal:content=
"python: here.getTranslatedTitle() or web_s
ection
.getTranslatedTitle()"
></title>
<noscript>
<link
rel=
"stylesheet"
href=
"jsstyle.css"
>
</noscript>
<tal:block
tal:define=
"favicon_url python: web_s
ite
.getLayoutProperty('configuration_favicon_url', default='')"
tal:condition=
"favicon_url"
>
<tal:block
tal:define=
"favicon_url python: web_s
ection
.getLayoutProperty('configuration_favicon_url', default='')"
tal:condition=
"favicon_url"
>
<link
rel=
"icon"
tal:attributes=
"href favicon_url"
/>
</tal:block>
<!-- Prevent conflicts with Web Page reference provided by erp5_web_renderjs_ui -->
...
...
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