SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5154866b authored by George Katsikas's avatar George Katsikas :goat:
Browse files

link prod page submitters to contributor / email

parent 71d35608
No related branches found
No related tags found
1 merge request!52New Production page fixes and oversights
...@@ -64,12 +64,11 @@ ...@@ -64,12 +64,11 @@
<small class="text-muted">Submitter</small> <small class="text-muted">Submitter</small>
<br> <br>
{% if productionstream.submission.submitted_by.profile.email %} {% if productionstream.submission.submitted_by.profile.email %}
<a href="mailto:{{ productionstream.submission.submitted_by.profile.email }}?body=Dear%20{{ productionstream.submission.submitted_by.formal_str }},%0A%0A"> <a href="mailto:{{ productionstream.submission.submitted_by.profile.email }}?body=Dear%20{{ productionstream.submission.submitted_by.formal_str }},%0A%0A"
{{ productionstream.submission.submitted_by.formal_str }} class="text-primary"><span style="pointer-events: none;">{% include 'bi/pencil-square.html' %}</span></a>
</a> &nbsp;
{% else %}
{{ productionstream.submission.submitted_by.formal_str }}
{% endif %} {% endif %}
<a href="{% url 'scipost:contributor_info' productionstream.submission.submitted_by.id %}">{{ productionstream.submission.submitted_by.formal_str }}</a>
</div> </div>
<div class="col-auto"> <div class="col-auto">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment