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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
5d3fca41
Commit
5d3fca41
authored
May 15, 2020
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[erp5_web_renderjs_ui] Allow to configure a global icon
parent
e58ab21c
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
102 additions
and
3 deletions
+102
-3
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.html
...teItem/web_page_module/rjs_gadget_erp5_launcher_html.html
+1
-1
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
...ateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
+2
-2
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_getPrecacheManifest.py
...skins/erp5_web_renderjs/WebSection_getPrecacheManifest.py
+1
-0
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
...s/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
+1
-0
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference/my_configuration_icon_url.xml
...tion_viewRenderJSPreference/my_configuration_icon_url.xml
+96
-0
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSection_renderDefaultPageAsGadget.py
...5_web_renderjs_ui/WebSection_renderDefaultPageAsGadget.py
+1
-0
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.html
View file @
5d3fca41
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"google"
content=
"notranslate"
>
<meta
name=
"google"
content=
"notranslate"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<link
rel=
"shortcut icon"
href=
"${
base_prefix}favicon.ico
"
>
<link
rel=
"shortcut icon"
href=
"${
icon_url}
"
>
<meta
name=
"theme-color"
content=
"#085078"
>
<meta
name=
"theme-color"
content=
"#085078"
>
<title>
${application_title}
</title>
<title>
${application_title}
</title>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_launcher_html.xml
View file @
5d3fca41
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
98
1.33187.14689.5353
8
</string>
</value>
<value>
<string>
98
3.59172.56372.4119
8
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -258,7 +258,7 @@
...
@@ -258,7 +258,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
158
0399803.54
</float>
<float>
158
9545308.75
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_getPrecacheManifest.py
View file @
5d3fca41
...
@@ -181,6 +181,7 @@ url_list.extend([
...
@@ -181,6 +181,7 @@ url_list.extend([
web_section
.
getLayoutProperty
(
"configuration_jio_gadget_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_jio_gadget_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_translation_gadget_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_translation_gadget_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_stylesheet_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_stylesheet_url"
,
default
=
default_url
),
web_section
.
getLayoutProperty
(
"configuration_icon_url"
,
default
=
default_url
),
])
])
# Add all extra dependencies
# Add all extra dependencies
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
View file @
5d3fca41
...
@@ -90,6 +90,7 @@
...
@@ -90,6 +90,7 @@
<string>
my_configuration_default_jio_document_page_gadget_url
</string>
<string>
my_configuration_default_jio_document_page_gadget_url
</string>
<string>
my_configuration_stylesheet_url
</string>
<string>
my_configuration_stylesheet_url
</string>
<string>
my_configuration_wallpaper_url
</string>
<string>
my_configuration_wallpaper_url
</string>
<string>
my_configuration_icon_url
</string>
</list>
</list>
</value>
</value>
</item>
</item>
...
...
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference/my_configuration_icon_url.xml
0 → 100644
View file @
5d3fca41
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"ProxyField"
module=
"Products.ERP5Form.ProxyField"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
delegated_list
</string>
</key>
<value>
<list>
<string>
title
</string>
</list>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
my_configuration_icon_url
</string>
</value>
</item>
<item>
<key>
<string>
message_values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
external_validator_failed
</string>
</key>
<value>
<string>
The input failed the external validator.
</string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
overrides
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
tales
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string></string>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key>
<string>
values
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
field_id
</string>
</key>
<value>
<string>
my_view_mode_reference
</string>
</value>
</item>
<item>
<key>
<string>
form_id
</string>
</key>
<value>
<string>
Base_viewFieldLibrary
</string>
</value>
</item>
<item>
<key>
<string>
target
</string>
</key>
<value>
<string>
Click to edit the target
</string>
</value>
</item>
<item>
<key>
<string>
title
</string>
</key>
<value>
<string>
Icon Url
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs_ui/WebSection_renderDefaultPageAsGadget.py
View file @
5d3fca41
...
@@ -61,6 +61,7 @@ mapping_dict = {
...
@@ -61,6 +61,7 @@ mapping_dict = {
"website_url_set"
:
json
.
dumps
(
website_url_set
),
"website_url_set"
:
json
.
dumps
(
website_url_set
),
"site_description"
:
web_section
.
getLayoutProperty
(
"description"
,
default
=
""
),
"site_description"
:
web_section
.
getLayoutProperty
(
"description"
,
default
=
""
),
"site_keywords"
:
web_section
.
getLayoutProperty
(
"subject"
,
default
=
""
),
"site_keywords"
:
web_section
.
getLayoutProperty
(
"subject"
,
default
=
""
),
"icon_url"
:
urljoin
(
base_prefix
,
web_section
.
getLayoutProperty
(
"configuration_icon_url"
,
default
=
'favicon.ico'
))
}
}
configuration_manifest_url
=
web_section
.
getLayoutProperty
(
"configuration_manifest_url"
,
default
=
None
)
configuration_manifest_url
=
web_section
.
getLayoutProperty
(
"configuration_manifest_url"
,
default
=
None
)
...
...
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