File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def nomcomREDESIGN(request):
5252 e = n .latest_event (type = "concluded" )
5353 n .end_year = e .time .year if e else ""
5454
55- chair = n .role_set .get (name = "chair" ). person
55+ chair = n .role_set .select_related (). get (name = "chair" )
5656 announcements = Message .objects .filter (related_groups = n ).order_by ('-time' )
5757 for a in announcements :
5858 a .to_name = address_re .sub ("" , a .to )
Original file line number Diff line number Diff line change 55
66< h1 > IAB/IESG Nominating Committee</ h1 >
77
8- < h3 > Current Committee Chair: < a href ="mailto:{{ curr_chair.email_address }} "> {{ curr_chair.name }}</ a > </ h3 >
8+ < h3 > Current Committee Chair: < a href ="mailto:{{ curr_chair.email.address }} "> {{ curr_chair.person .name }}</ a > </ h3 >
99
1010{% for regime in regimes %}
1111 < hr >
1212 < h1 > Messages from {{ regime.group.start_year }} - {{ regime.group.end_year }}</ h1 >
13- < h4 > Committee Chair: < a href ="mailto:{{ regime.chair.email_address }} "> {{ regime.chair.name }}</ a > </ h4 >
13+
14+ {# use person email address here rather than the generic nomcom-chair@ietf.org #}
15+ < h4 > Committee Chair: < a href ="mailto:{{ regime.chair.person.email_address }} "> {{ regime.chair.person.name }}</ a > </ h4 >
1416 < table class ="ietf-table ">
1517 < tr >
1618 < th width ="10% "> Date</ th >
You can’t perform that action at this time.
0 commit comments