Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
red-group-test
red-ci-cd
Commits
09112178
Commit
09112178
authored
Jan 15, 2020
by
John Red Medrano
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #641 in RMS/api-main-service from red-develop to product-dev
* commit '
25ef8fef
': fixing email
parents
4005b6f7
25ef8fef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
app/applicationlayer/cms/cms_settings/views.py
app/applicationlayer/cms/cms_settings/views.py
+2
-0
app/helper/email_service/sender.py
app/helper/email_service/sender.py
+4
-0
No files found.
app/applicationlayer/cms/cms_settings/views.py
View file @
09112178
...
...
@@ -89,6 +89,8 @@ class CMSSettingsViewSet(viewsets.ModelViewSet):
code
=
str
(
data
[
'behalf_user'
])
)
print
(
recipient
)
args
=
[
recipient
.
name
,
action
,
active_user
,
recipient
.
email
,
admin
]
main_threading
(
args
,
sender
.
on_behalf
)
...
...
app/helper/email_service/sender.py
View file @
09112178
...
...
@@ -609,6 +609,10 @@ def on_behalf(args):
F
=
open
(
os
.
path
.
join
(
settings
.
EMAIL_TEMPLATES_ROOT
,
'RMS-ONBEHALF.html'
),
'r'
)
print
(
"wwww"
)
print
(
args
)
FC
=
F
.
read
()
FC
=
FC
.
replace
(
'{name}'
,
name
)
...
...
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