SciPost Code Repository
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SciPost
Manage
Activity
Members
Labels
Plan
Issues
118
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SciPost
SciPost
Commits
91f4e5d7
Commit
91f4e5d7
authored
7 years ago
by
Jorran de Wit
Browse files
Options
Downloads
Plain Diff
Merge branch 'hotfix'
parents
f2640fca
abef00d4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scipost/utils.py
+2
-2
2 additions, 2 deletions
scipost/utils.py
with
2 additions
and
2 deletions
scipost/utils.py
+
2
−
2
View file @
91f4e5d7
...
@@ -440,7 +440,7 @@ class Utils(object):
...
@@ -440,7 +440,7 @@ class Utils(object):
'
Contributor to the site.</p>
'
)
'
Contributor to the site.</p>
'
)
email_context
[
'
pub_title
'
]
=
cls
.
invitation
.
cited_in_publication
.
title
email_context
[
'
pub_title
'
]
=
cls
.
invitation
.
cited_in_publication
.
title
email_context
[
'
pub_author_list
'
]
=
cls
.
invitation
.
cited_in_publication
.
author_list
email_context
[
'
pub_author_list
'
]
=
cls
.
invitation
.
cited_in_publication
.
author_list
email_context
[
'
doi_label
'
]
=
cls
.
invitation
.
cited_in_publication
.
doi_
label
email_context
[
'
doi_label
'
]
=
cls
.
invitation
.
cited_in_publication
.
doi_
string
email_context
[
'
citation
'
]
=
cls
.
invitation
.
cited_in_publication
.
citation
()
email_context
[
'
citation
'
]
=
cls
.
invitation
.
cited_in_publication
.
citation
()
email_text
+=
summary_text
email_text
+=
summary_text
email_text_html
+=
summary_text_html
email_text_html
+=
summary_text_html
...
@@ -677,7 +677,7 @@ class Utils(object):
...
@@ -677,7 +677,7 @@ class Utils(object):
'
<a href=
"
https://scipost.org/unsubscribe/{{ key }}
"
>Unsubscribe</a>.</p>
'
)
'
<a href=
"
https://scipost.org/unsubscribe/{{ key }}
"
>Unsubscribe</a>.</p>
'
)
email_context
[
'
pub_title
'
]
=
cls
.
notification
.
cited_in_publication
.
title
email_context
[
'
pub_title
'
]
=
cls
.
notification
.
cited_in_publication
.
title
email_context
[
'
pub_author_list
'
]
=
cls
.
notification
.
cited_in_publication
.
author_list
email_context
[
'
pub_author_list
'
]
=
cls
.
notification
.
cited_in_publication
.
author_list
email_context
[
'
doi_label
'
]
=
cls
.
notification
.
cited_in_publication
.
doi_
label
email_context
[
'
doi_label
'
]
=
cls
.
notification
.
cited_in_publication
.
doi_
string
email_context
[
'
citation
'
]
=
cls
.
notification
.
cited_in_publication
.
citation
()
email_context
[
'
citation
'
]
=
cls
.
notification
.
cited_in_publication
.
citation
()
email_context
[
'
key
'
]
=
cls
.
notification
.
contributor
.
activation_key
email_context
[
'
key
'
]
=
cls
.
notification
.
contributor
.
activation_key
html_template
=
Template
(
email_text_html
)
html_template
=
Template
(
email_text_html
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment