Skip to content

Commit 615a124

Browse files
committed
Merged in [9852] from lars@netapp.com:
Fix display of AD and shepherd names, and also fix the respective mailto: links. - Legacy-Id: 9865 Note: SVN reference [9852] has been migrated to Git commit 573496d
1 parent 3540c1b commit 615a124

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/templates/doc/search/search_result_row.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@
8787
{% if ad_name == None or ad_name != doc.ad.plain_name %}
8888
<td class="ad">
8989
{% if doc.ad %}
90-
<div><a title="AD" href="mailto:doc.ad.email.address">{{ doc.ad }}</a></div>
90+
<a title="AD" href="mailto:{{ doc.ad.email_address|urlencode }}">{{ doc.ad }}</a><br>
9191
{% endif %}
92-
{% if doc.shepherd %}<a title="Shepherd" href="{{doc.shepherd}}"><small class="text-muted">{{doc.shepherd|emailwrap|default:""}}</small></a>{% endif %}
92+
{% if doc.shepherd %}<a title="Shepherd" href="mailto:{{doc.shepherd}}"><small class="text-muted">{{doc.shepherd.person.name}}</small></a>{% endif %}
9393
</td>
9494
{% else %}
9595
<td></td>

0 commit comments

Comments
 (0)