Skip to content

Commit d330b8d

Browse files
committed
Add usernames to the email sent to the secretariat when a possible duplicate person has been detected. Fixes ietf-tools#2307. Commit ready for merge.
- Legacy-Id: 13503
1 parent ca76f5c commit d330b8d

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

ietf/templates/person/mail/possible_duplicates.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ There are now {{persons|length}} Person objects sharing that name.
99
Please check to see if they represent the same actual person, and if so, merge the objects as appropriate.
1010

1111
{% for person in persons %}Person {{forloop.counter}} {{ person.name }} (pk={{person.pk}})
12-
time: {{person.time}}
13-
ascii: {{person.ascii}}
14-
email: {% for email in person.email_set.all %}{{ email.address }} {% endfor %}
15-
aliases: {{ person.alias_set.all|join:", " }}
12+
time: {{person.time}}
13+
ascii: {{person.ascii}}
14+
email: {% for email in person.email_set.all %}{{ email.address }} {% endfor %}
15+
aliases: {{ person.alias_set.all|join:", " }}
16+
username: {% if person.user %}{{person.user.username}}{% else %}None{% endif %}
1617

1718
{% endfor %} {% endautoescape %}

0 commit comments

Comments
 (0)