Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
e8d886c3
Commit
e8d886c3
authored
Dec 21, 2017
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_corporate_identity: dump logo url to see why it fails
parent
69acf8f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getThemeDict.py
...portal_skins/erp5_corporate_identity/Base_getThemeDict.py
+4
-2
No files found.
bt5/erp5_corporate_identity/SkinTemplateItem/portal_skins/erp5_corporate_identity/Base_getThemeDict.py
View file @
e8d886c3
...
...
@@ -19,7 +19,6 @@ css = "default_theme_css_url"
font
=
"default_theme_font_css_url_list"
param
=
"?format=png"
theme_logo_alt
=
"Default Logo"
default_company_title
=
context
.
Base_getCustomTemplateParameter
(
"default_company_title"
)
theme_logo
=
None
theme_logo_url
=
None
...
...
@@ -28,7 +27,7 @@ theme_logo_description = blank
theme
=
(
context
.
Base_getCustomTemplateProxyParameter
(
"theme"
)
or
context
.
Base_getCustomTemplateParameter
(
"theme"
)
or
default_company_title
context
.
Base_getCustomTemplateParameter
(
"default_company_title"
)
)
if
theme
is
not
None
:
...
...
@@ -39,6 +38,9 @@ if theme is not None:
try
:
theme_logo
=
context
.
restrictedTraverse
(
theme_logo_url
)
except
LookupError
:
#context.log("status", "theme_logo_url: %r" % (theme_logo_url,))
__traceback_info__
=
"theme_logo_url: %r"
%
(
theme_logo_url
,)
raise
Exception
(
"theme_logo_url: %r"
%
(
theme_logo_url
,))
theme_logo
=
None
if
theme_logo
:
theme_logo_description
=
theme_logo
.
getDescription
()
...
...
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