Skip to content

Commit

Permalink
Completes #1351
Browse files Browse the repository at this point in the history
  • Loading branch information
mauromsl committed Nov 28, 2019
1 parent 86827b2 commit 83140d4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/templates/admin/elements/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ <h4>{{ article.title|safe }}</h4>
</tr>
<tr>
<td>{{ article.section.name }}</td>
{% if article.correspondence_author %}
<td>{{ article.correspondence_author.full_name }} <a onclick="return popitup('{% url 'send_user_email_article' article.correspondence_author.pk article.pk %}')"><i class="fa fa-envelope">&nbsp;</i></a></td>
{% else %}
<td><i class="fa fa-warning">&nbsp;</i> This article has no correspondence_author</td>
{% endif %}
<td>{{ article.license.short_name }}</td>
<td>{{ article.get_language_display }}</td>
</tr>
Expand Down Expand Up @@ -197,4 +201,4 @@ <h4>Files</h4>
</table>
{% endif %}

<script type="text/javascript" src="{% static 'admin/js/popup.js' %}"></script>
<script type="text/javascript" src="{% static 'admin/js/popup.js' %}"></script>

0 comments on commit 83140d4

Please sign in to comment.