Fix use of email_address() in nomcom view
- Legacy-Id: 3749
This commit is contained in:
parent
ef5aff7b1a
commit
43fe4d87fa
|
@ -52,7 +52,7 @@ def nomcomREDESIGN(request):
|
|||
e = n.latest_event(type="concluded")
|
||||
n.end_year = e.time.year if e else ""
|
||||
|
||||
chair = n.role_set.get(name="chair").person
|
||||
chair = n.role_set.select_related().get(name="chair")
|
||||
announcements = Message.objects.filter(related_groups=n).order_by('-time')
|
||||
for a in announcements:
|
||||
a.to_name = address_re.sub("", a.to)
|
||||
|
|
|
@ -5,12 +5,14 @@
|
|||
|
||||
<h1>IAB/IESG Nominating Committee</h1>
|
||||
|
||||
<h3>Current Committee Chair: <a href="mailto:{{ curr_chair.email_address }}">{{ curr_chair.name }}</a></h3>
|
||||
<h3>Current Committee Chair: <a href="mailto:{{ curr_chair.email.address }}">{{ curr_chair.person.name }}</a></h3>
|
||||
|
||||
{% for regime in regimes %}
|
||||
<hr>
|
||||
<h1>Messages from {{ regime.group.start_year }} - {{ regime.group.end_year }}</h1>
|
||||
<h4>Committee Chair: <a href="mailto:{{ regime.chair.email_address }}">{{ regime.chair.name }}</a></h4>
|
||||
|
||||
{# use person email address here rather than the generic nomcom-chair@ietf.org #}
|
||||
<h4>Committee Chair: <a href="mailto:{{ regime.chair.person.email_address }}">{{ regime.chair.person.name }}</a></h4>
|
||||
<table class="ietf-table">
|
||||
<tr>
|
||||
<th width="10%">Date</th>
|
||||
|
|
Loading…
Reference in a new issue