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
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
Łukasz Nowak
erp5
Commits
cafbebe6
Commit
cafbebe6
authored
Oct 24, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! erp5_ci_slideshow: support unobtainable creation dates (= None)
This is a fixup for commit
1519d81a
. There was a typo.
parent
3076a47b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_ci_slideshow/SkinTemplateItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
...eItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
+1
-1
No files found.
bt5/erp5_ci_slideshow/SkinTemplateItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
View file @
cafbebe6
...
...
@@ -87,7 +87,7 @@ document_content = removeEmptyDetails(document.getTextContent())
document_theme
=
getThemeFromFirstFollowUpProduct
(
document_reference
)
document_title
=
document
.
getTitle
()
document_description
=
document
.
getDescription
()
document_creation_date
=
doc
.
getCreationDate
()
document_creation_date
=
doc
ument
.
getCreationDate
()
document_creation_year
=
document_creation_date
.
strftime
(
'%Y'
)
if
document_creation_date
else
''
document_theme_logo_url
=
"NXD-Media.Logo."
+
document_theme
.
capitalize
()
document_theme_logo
=
context
.
restrictedTraverse
(
document_theme_logo_url
)
...
...
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