Fix display of AD and shepherd names, and also fix the respective mailto: links.
Commit ready for merge. - Legacy-Id: 9852
This commit is contained in:
parent
7a8c6d714c
commit
573496df73
|
@ -87,9 +87,9 @@
|
|||
{% if ad_name == None or ad_name != doc.ad.plain_name %}
|
||||
<td class="ad">
|
||||
{% if doc.ad %}
|
||||
<div><a title="AD" href="mailto:doc.ad.email.address">{{ doc.ad }}</a></div>
|
||||
<a title="AD" href="mailto:{{ doc.ad.email_address|urlencode }}">{{ doc.ad }}</a><br>
|
||||
{% endif %}
|
||||
{% if doc.shepherd %}<a title="Shepherd" href="{{doc.shepherd}}"><small class="text-muted">{{doc.shepherd|emailwrap|default:""}}</small></a>{% endif %}
|
||||
{% if doc.shepherd %}<a title="Shepherd" href="mailto:{{doc.shepherd}}"><small class="text-muted">{{doc.shepherd.person.name}}</small></a>{% endif %}
|
||||
</td>
|
||||
{% else %}
|
||||
<td></td>
|
||||
|
|
Loading…
Reference in a new issue