-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2101 the review page now includes metadata for the paper.
- Loading branch information
Showing
3 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
src/templates/admin/elements/review/review_meta_block.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<p><strong>The editor handling this piece is:</strong></p> | ||
|
||
<ul> | ||
{% if review_request.article.section_editors %} | ||
{% for editor in review_request.article.section_editors %} | ||
<li>{{ editor }} <a href="mailto:{{ editor.email }}?subject={{ review_request.article.journal.name }} Review"><i | ||
class="fa fa-envelope"></i></a></li> | ||
{% endfor %} | ||
{% elif review_request.article.editors %} | ||
{% for editor_dict in review_request.article.editors %} | ||
<li>{{ editor_dict.editor }} <a | ||
href="mailto:{{ editor_dict.editor.email }}?subject={{ review_request.article.journal.name }} Review"><i | ||
class="fa fa-envelope"></i></a></li> | ||
{% endfor %} | ||
{% else %} | ||
<li>This article has no editors.</li> | ||
{% endif %} | ||
</ul> | ||
|
||
|
||
<p><strong>Abstract</strong></p> | ||
{{ review_request.article.abstract|safe }} | ||
<br /> | ||
<p><strong>Keywords</strong></p> | ||
{{ article.keywords.all }} | ||
<p> | ||
{% for keyword in review_request.article.keywords.all %} | ||
{{ keyword.word }}{% if not forloop.last %}, {% endif %} | ||
{% empty %} | ||
Article has no keywords. | ||
{% endfor %} | ||
</p> | ||
<p><strong>Section</strong></p> | ||
<p>{{ review_request.article.section.name }}</p> | ||
|
||
<p><strong>Language</strong></p> | ||
<p>{{ review_request.article.get_language_display }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters