diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index c7a3848f8..e051366a3 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -3,6 +3,7 @@ {% load origin %} {% load static %} {% load ietf_filters %} +{% load person_filters %} {% block pagehead %} @@ -72,10 +73,16 @@ Author{{doc.authors|pluralize}} + {# Implementation that uses the current primary email for each author #} {% for author in doc.authors %} - {{ author.plain_name }} - {% if not forloop.last %}, {% endif %} + {% person_link author %}{% if not forloop.last %}, {% endif %} {% endfor %} + {% comment %} + {# Alternative implementation that uses the submission email (which might have turned invalid #} + {% for author in doc.documentauthor_set.all %} + {% email_person_link author.email %}{% if not forloop.last %}, {% endif %} + {% endfor %} + {% endcomment %} diff --git a/ietf/templates/doc/review/request_info.html b/ietf/templates/doc/review/request_info.html index 26b21a803..cc3c12f2f 100644 --- a/ietf/templates/doc/review/request_info.html +++ b/ietf/templates/doc/review/request_info.html @@ -1,4 +1,5 @@ {# Copyright The IETF Trust 2017, All Rights Reserved #}{% load origin bootstrap3 %}{% origin %} +{% load person_filters %} @@ -127,10 +128,7 @@
{% if forloop.first %}Assignment{{assignments|pluralize}}{% endif %} Reviewer - {{ assignment.reviewer.person.plain_name }} - - - + {% person_link assignment.reviewer.person %} {% if assignment.can_reject_reviewer_assignment or assignment.can_accept_reviewer_assignment %}