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
1
Issues
1
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
Roque
erp5
Commits
1519d81a
Commit
1519d81a
authored
Oct 22, 2019
by
Bryton Lacquement
🚪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_ci_slideshow: support unobtainable creation dates (= None)
parent
83af33d7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
bt5/erp5_ci_slideshow/SkinTemplateItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
...eItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
+2
-1
No files found.
bt5/erp5_ci_slideshow/SkinTemplateItem/portal_skins/erp5_ci_slideshow/WebPage_viewAsWeb.py
View file @
1519d81a
...
@@ -87,7 +87,8 @@ document_content = removeEmptyDetails(document.getTextContent())
...
@@ -87,7 +87,8 @@ document_content = removeEmptyDetails(document.getTextContent())
document_theme
=
getThemeFromFirstFollowUpProduct
(
document_reference
)
document_theme
=
getThemeFromFirstFollowUpProduct
(
document_reference
)
document_title
=
document
.
getTitle
()
document_title
=
document
.
getTitle
()
document_description
=
document
.
getDescription
()
document_description
=
document
.
getDescription
()
document_creation_year
=
document
.
getCreationDate
().
strftime
(
'%Y'
)
document_creation_date
=
doc
.
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_url
=
"NXD-Media.Logo."
+
document_theme
.
capitalize
()
document_theme_logo
=
context
.
restrictedTraverse
(
document_theme_logo_url
)
document_theme_logo
=
context
.
restrictedTraverse
(
document_theme_logo_url
)
document_claim
=
document_theme_logo
.
getDescription
()
document_claim
=
document_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