{% extends 'scipost/base.html' %} {% load bootstrap %} {% block breadcrumb_items %} {{ block.super }} Duplicates Merge Contributors {{ contributor_to_merge.id }} and {{ contributor_to_merge_into.id }} {% endblock %} {% load scipost_extras %} {% block pagetitle %}: Contributor duplicates: merge{% endblock pagetitle %} {% block content %}

Merge Contributors {{ contributor_to_merge.id }} and {{ contributor_to_merge_into.id }}

{% if contributor_to_merge.user.is_active and not contributor_to_merge_into.user.is_active %}

Warning: the contributor to merge is active, while the one to merge into is not

Consider merging the other way around

{% endif %}

Contributor {{ contributor_to_merge.id }}

{% include "scipost/_public_info_as_table.html" with contributor=contributor_to_merge %}

Contributor {{ contributor_to_merge_into.id }}

{% include "scipost/_public_info_as_table.html" with contributor=contributor_to_merge_into %}

Merge:

{% csrf_token %} {{ merge_form|bootstrap }}  Merge the other way around

{% endblock content %}