We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac69d98 commit 06b3838Copy full SHA for 06b3838
1 file changed
ietf/templates/person/profile.html
@@ -37,7 +37,8 @@ <h1>{{ person.name }} {% if person.ascii != person.name %}<br><small>({{person.a
37
{% if person.role_set.exists %}
38
<h2 id="roles">Roles</h2>
39
<table class="table">
40
- {% for role in person.role_set.all %}
+ {% if person.role_set.count %}
41
+ {% for role in person.role_set.all %}
42
{% if role.group.state_id == 'active' or role.group.state_id == 'bof' %}
43
{% if role.group.acronym != 'secretariat' %}
44
<tr>
@@ -53,7 +54,10 @@ <h2 id="roles">Roles</h2>
53
54
</tr>
55
{% endif %}
56
- {% endfor %}
57
+ {% endfor %}
58
+ {% else %}
59
+ {{ person.first_name }} has no active roles as of {{ today }}.
60
+ {% endif %}
61
</table>
62
63
</div>
0 commit comments