diff --git a/ietf/person/name.py b/ietf/person/name.py index 1cfbd06fb..bcae148d6 100644 --- a/ietf/person/name.py +++ b/ietf/person/name.py @@ -1,4 +1,4 @@ -# Copyright The IETF Trust 2011-2019, All Rights Reserved +# Copyright The IETF Trust 2011-2020, All Rights Reserved # -*- coding: utf-8 -*- @@ -63,6 +63,10 @@ def name_parts(name): # Handle reverse-order names with uppercase surname correctly if re.search("^[A-Z-]+$", first): first, last = last, first.capitalize() + # Handle exception for RFC Editor + if (prefix, first, middle, last, suffix) == ('', 'Editor', '', 'Rfc', ''): + first = 'RFC' + last = 'Editor' return prefix, first, middle, last, suffix def initials(name): diff --git a/ietf/templates/stats/includes/number_with_details_cell.html b/ietf/templates/stats/includes/number_with_details_cell.html index b007d4158..bba215025 100644 --- a/ietf/templates/stats/includes/number_with_details_cell.html +++ b/ietf/templates/stats/includes/number_with_details_cell.html @@ -1,6 +1,6 @@ {% if content_limit and count <= content_limit %} {% for n in names %} - {{ n }}
+ {{ n }}
{% endfor %} {% else %} {# {{ count }} #}