{% load text %} {% load static %} {% load i18n %} {% load next_url %} {% load securitytags %} {% is_any_editor as any_editor %}

{% trans "Current authors" %}

{% if not last_changed_author %} {% include "admin/elements/forms/messages_in_callout.html" %} {% endif %} {% if not article.correspondence_author %} {% include "admin/submission/submit_correspondence_author.html" with article=article %} {% endif %}
{% for author, credits, credit_form in authors %} {% with "author-"|concat:author.pk as section_id %}
{% if last_changed_author == author %} {% include "admin/elements/forms/messages_in_callout.html" %} {% endif %} {% if article.correspondence_author and article.correspondence_author == author.author %} {% include "admin/submission/submit_correspondence_author.html" with article=article %} {% endif %}
{% if authors|length > 1 %}
{{ forloop.counter }}
{% endif %}

{{ author.full_name|default:"[No name]" }}

{% if author.owner == request.user or any_editor %} {% trans "Edit author details" %} {% endif %} {% url_with_return 'submission_delete_frozen_author' article.pk author.pk as remove_url %} {% trans "Remove author" as remove_label %} {% include "elements/a_remove.html" with href=remove_url label=remove_label %}
{% if author.owner != request.user and not any_editor %}

{% blocktrans with journal=request.journal.name %} You cannot edit this author's details, because they have a user account with {{ journal }}. If their details are out of date, ask them to log in and edit their user profile. {% endblocktrans %}

{% site_url "core_edit_profile" as content %} {% trans "Copy link to share" as label_copy %} {% trans "Link copied" as label_copied %} {% include "admin/elements/button_copy.html" with content=content label_copy=label_copy label_copied=label_copied %}

{% blocktrans %} After they have made their changes, remove and re-add them to the author list via the search. {% endblocktrans %}

{% endif %}
{% trans "Email" as email_key %} {% include "admin/elements/layout/key_value_above.html" with key=email_key value=author.real_email|default:"No email address" %} {% trans "ORCID" as orcid_key %} {% include "admin/elements/layout/key_value_above.html" with key=orcid_key value=author.orcid|default:"No ORCID" %} {% trans "Has user account" as account_key %} {% include "admin/elements/layout/key_value_above.html" with key=account_key value=author.author|yesno:"Yes,No" %}
{% trans "Affiliations" %}
{% for affiliation in author.affiliations %}
{% if author.affiliations|length > 1 %} {% include "admin/core/affiliation_display.html" with affiliation=affiliation display_primary=True %} {% else %} {% include "admin/core/affiliation_display.html" with affiliation=affiliation display_primary=False %} {% endif %}
{% empty %}
{% trans "This author has no affiliations." %}
{% endfor %}
{% if journal_settings.general.use_credit %}
{% trans "Roles" %}
{% include "admin/submission/submit_credit_roles.html" with author=author credit_form=credit_form %}
{% endif %}
{% if authors|length > 1 %} {% include "admin/submission/submit_author_order.html" with author=author %} {% endif %}
{% endwith %} {% empty %}
{% trans "This article has no authors." %}
{% endfor %}
{% if authors|length > 1 %}

{% blocktrans %} Authors can be moved up or down to set their order. This order will be used for the display of author names when the article is published. {% endblocktrans %}

{% endif %}