Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
2f5bd827
Commit
2f5bd827
authored
Nov 20, 2018
by
Jérome Perrin
Committed by
Aurel
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deferred_style: only support html notification
parent
66986320
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/ERP5Site_notifyReportComplete.py
...erp5_deferred_style_core/ERP5Site_notifyReportComplete.py
+1
-7
No files found.
bt5/erp5_deferred_style/SkinTemplateItem/portal_skins/erp5_deferred_style_core/ERP5Site_notifyReportComplete.py
View file @
2f5bd827
...
...
@@ -30,13 +30,7 @@ if prefs.getPreferredDeferredReportStoredAsDocument():
notification_mapping_dict
=
{
'report_link_list'
:
report_url_text
,
}
if
notification_message
.
getContentType
()
==
"text/html"
:
message
=
notification_message
.
asEntireHTML
(
safe_substitute
=
False
,
substitution_method_parameter_dict
=
{
'mapping_dict'
:
notification_mapping_dict
})
else
:
message_text_format
=
"text/plain"
message
=
notification_message
.
asText
(
message
=
notification_message
.
asEntireHTML
(
safe_substitute
=
False
,
substitution_method_parameter_dict
=
{
'mapping_dict'
:
notification_mapping_dict
})
...
...
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