datatracker/ietf/templates/person/mail/possible_duplicates.txt
Henrik Levkowetz 630a263ef7 Merged in [8870] from rjsparks@nostrum.com:
Inform the secretariat when a duplicate Alias.name is created that isn't already a duplicate Person.name. Improve the message that's sent when either duplicate Person or Alias names are detected.
 - Legacy-Id: 8893
Note: SVN reference [8870] has been migrated to Git commit 8e1abfa833f528bccf0f61a2a767f3923255e137
2015-01-21 20:44:06 +00:00

18 lines
745 B
Plaintext

{% load ietf_filters %}{% load mail_filters %}{% autoescape off %}From: {{settings.SERVER_EMAIL}}
To: <iesg-secretary@ietf.org>
Subject: Possible duplicate Person objects for {{name}}
A new Person and/or Alias object was just created for {{name}}.
There are now {{persons|length}} Person objects sharing that name.
Please check to see if they represent the same actual person, and if so, merge the objects as appropriate.
{% for person in persons %}Person {{forloop.counter}} {{ person.name }} (pk={{person.pk}})
time: {{person.time}}
ascii: {{person.ascii}}
email: {% for email in person.email_set.all %}{{ email.address }} {% endfor %}
aliases: {{ person.alias_set.all|join:", " }}
{% endfor %} {% endautoescape %}