Skip to content

Commit afc37cc

Browse files
committed
Added a guard around rendering of group.ad_role, which isn't always set.
- Legacy-Id: 13681
1 parent 5e6ecfb commit afc37cc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/templates/group/active_wgs.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,10 @@ <h3>{{ area.acronym }} active WG{{ area.groups|pluralize}}</h3>
6363
<tr>
6464
<td><a href="{% url "ietf.group.views.group_home" group_type=group.type_id acronym=group.acronym %}">{{ group.acronym }}</a></td>
6565
<td>
66+
{% if group.ad_role %}
6667
<a href="mailto:{{ group.ad_role.email.address }}"><span class="fa fa-envelope-o tiny"></span></a>
6768
<a href="{% url 'ietf.person.views.profile' email_or_name=group.ad_role.person.name %}">{{ group.ad_role.person.plain_name.split.0 }}</a>
69+
{% endif %}
6870
</td>
6971
<td>{{ group.name }}</td>
7072
<td>

0 commit comments

Comments
 (0)