Skip to content

Commit 9d042ba

Browse files
committed
Merged [4904] from adam@nostrum.com:
Fixing conflict list; adding AD column. - Legacy-Id: 4961 Note: SVN reference [4904] has been migrated to Git commit 3cb42b7
2 parents 8493ce7 + 3cb42b7 commit 9d042ba

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

ietf/meeting/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,4 +190,7 @@ def __unicode__(self):
190190
return u"%s: %s %s" % (self.meeting, self.group.acronym, timeslots[0].time.strftime("%H%M") if timeslots else "(unscheduled)")
191191

192192
def constraints(self):
193+
return Constraint.objects.filter(source=self.group, meeting=self.meeting).order_by('name__name')
194+
195+
def reverse_constraints(self):
193196
return Constraint.objects.filter(target=self.group, meeting=self.meeting).order_by('name__name')

ietf/templates/meeting/requests.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,25 @@ <h2><a name="{{session.group.parent.acronym}}">{{session.group.parent.acronym|up
3838
<th class="h">Duration</th>
3939
<th class="h">Size</th>
4040
<th class="h">Requested By</th>
41+
<th class="h">Area Director</th>
4142
<th class="h">Conflicts</th>
4243
<th class="h">Special Requests</th>
4344
{% endifchanged %}
4445
{%ifchanged%}
45-
<tr><td class="status" colspan="6"><!-- {{session.group.parent.id}} -->{{session.status}}</td></tr>
46+
<tr><td class="status" colspan="7"><!-- {{session.group.parent.id}} -->{{session.status}}</td></tr>
4647
{%endifchanged%}
4748
<tr class="{% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
4849
<th valign="top">{{session.group.acronym|upper}}</th>
4950
<td valign="top" align="center">{% if not session.requested_duration %}<i>{{session.status}}</i>{%else%} {{session.requested_duration|stringformat:"s"|slice:"0:4"}} {% endif %}</td>
5051
<td valign="top" align="center">{{session.attendees}}</td>
5152
<td valign="top">
52-
<a href="mailto:{{session.requested_by.email_address}}">{{session.requested_by}}</a>
53+
<a href="mailto:{{session.requested_by.chair_email}}">{{session.requested_by}}</a>
5354
</td>
54-
<td width="35%" valign="top">{%if session.requested_duration%}<span>{% for constraint in session.constraints %}{%ifchanged%}</span><span class="{{constraint.name.slug}}">{%endifchanged%} {{constraint.source.acronym}}{%ifnotequal constraint.source.parent.id constraint.target.parent.id%} ({{constraint.source.parent.acronym}}){%endifnotequal%}{%if not forloop.last %},{%endif%} {% endfor %}</span>{%endif%}</td>
55-
<td width="35%" valign="top">{% if session.comments %}<i><font color="#800000">{{session.comments|linebreaksbr}}</font></i>{% endif %}</td>
55+
<td valign="top">
56+
{% if session.group.ad %}<a href="mailto:{{session.group.ad.ad_email}}">{{session.group.ad}}</a> {%endif%}
57+
</td>
58+
<td width="30%" valign="top">{%if session.requested_duration%}<span>{% for constraint in session.constraints %}{%ifchanged%}</span><span class="{{constraint.name.slug}}">{%endifchanged%} {{constraint.target.acronym}}{%ifnotequal constraint.target.parent.id constraint.source.parent.id%} ({{constraint.target.parent.acronym}}){%endifnotequal%}{%if not forloop.last %},{%endif%} {% endfor %}</span>{%endif%}</td>
59+
<td width="30%" valign="top">{% if session.comments %}<i><font color="#800000">{{session.comments|linebreaksbr}}</font></i>{% endif %}</td>
5660
</tr>
5761
{% endif %}
5862
{% endfor %}

0 commit comments

Comments
 (0)