From d64b8cac9a25bd42592c2fc0790dc58d410255dc Mon Sep 17 00:00:00 2001
From: Virginia Dooley Is this a duplicate person?
Has this person been merged incorrectly?
+ {% if user.is_authenticated %} + Split person + {% if person.queued_image %} + {% if user_can_review_photos %} +{{ person.name }} has a photo that needs to be reviewed
+ Review image + {% endif %} + {% endif %} + {% else %} + Log in to split + {% endif %} + {% else %} +Choose which properties to keep on {{ person.name }}, which to move to a new person, and which to keep on both.
+ + +{% endblock %} diff --git a/ynr/apps/people/urls.py b/ynr/apps/people/urls.py index ef4e0b23b..de6321b1a 100644 --- a/ynr/apps/people/urls.py +++ b/ynr/apps/people/urls.py @@ -47,6 +47,11 @@ views.UpdatePersonView.as_view(), name="person-update", ), + re_path( + r"^person/(?PSubmitting this form will create a new person with the above attributes.
+ {% endif %} + + {% if choices.move %} +Submitting this form will create a new person with the above attributes and remove the above attributes from the original person.
+ {% endif %} + + {% if choices.both %} +Submitting this form will create a new person with the above attributes and keep the above attributes on the original person.
+ {% endif %} + + Go back +{% endblock %} diff --git a/ynr/apps/people/templates/people/split_person.html b/ynr/apps/people/templates/people/split_person.html index 1e72fd63d..26e3c3095 100644 --- a/ynr/apps/people/templates/people/split_person.html +++ b/ynr/apps/people/templates/people/split_person.html @@ -29,15 +29,18 @@