Changed the template for the person_link templatetag to use email address instead of name, to work correctly for for different persons having the same name.

- Legacy-Id: 18595
This commit is contained in:
Henrik Levkowetz 2020-10-11 15:02:13 +00:00
parent 5d26af8e40
commit 86f495b246

View file

@ -1,5 +1,5 @@
{# Copyright The IETF Trust 2020, All Rights Reserved #}{% spaceless %}
<a {% if title %}title="{{ title }}"{% endif %} href="{% url 'ietf.person.views.profile' email_or_name=name %}">
<a {% if title %}title="{{ title }}"{% endif %} href="{% url 'ietf.person.views.profile' email_or_name=email %}">
<span class="{{class}}">{{ plain_name }}</span>
</a>&nbsp;<a href="mailto:{{ email|urlencode }}">
<span class="fa fa-envelope-o tiny"></span>