The use of group.ad has been scrubbed from the code and templates. - Those places that set group.ad have been directly manipulate Role objects instead - Most places that read group.ad now use a new group.ad_role() that returns a Role object, simplifing some views. Related to #1555 and #1557. Commit ready for merge. - Legacy-Id: 8854
65 lines
3.3 KiB
HTML
65 lines
3.3 KiB
HTML
{% extends "base.html" %}{% load ietf_filters %}
|
|
{# Copyright The IETF Trust 2007, All Rights Reserved #}
|
|
{% block title %}IETF {{ meeting.num }} Meeting Timeslot Requests{% endblock %}
|
|
{% block morecss %}
|
|
@media print {
|
|
.title { font-size: 1.0cm !important; padding-top: 6cm; text-align: center;}
|
|
.loc { text-align:center; font-size: 0.75cm}
|
|
}
|
|
.loc { width: 100% }
|
|
h2 { border-style: none none solid none ; page-break-before: always;}
|
|
h3 { color: #0000a0 }
|
|
th { text-align: right; vertical-align: text-top; }
|
|
.even { background-color: #fff; }
|
|
.odd { background-color: #ddf; }
|
|
.h { text-align: center; border-style: none none solid none; border-width: 1px;}
|
|
.conflict { background-color: #fbb; }
|
|
.conflic2 { background-color: #fd6; }
|
|
.conflic3 { background-color: #ff8; }
|
|
.status { text-align: center; background-color: #004; color: #fff; }
|
|
.no-req {border-style: solid; border-width: 1px; padding: 5px; font-weight:bold ; background-color: #333; color: #fff}
|
|
|
|
{% endblock morecss %}
|
|
|
|
{% block content %}
|
|
<h1 class="title">IETF {{ meeting.number }} Meeting Timeslot Requests</h1>
|
|
<div class="loc">{{meeting.city}}, {{meeting.country}} -- {{meeting.venue_name}} </div>
|
|
|
|
<table>
|
|
{% for session in sessions %}
|
|
{% if session.group.parent %}
|
|
{% ifchanged %}
|
|
</table>
|
|
<h2><a name="{{session.group.parent.acronym}}">{{session.group.parent.acronym|upper}} - {{session.group.parent.name}}</a></h2>
|
|
<div class="no-req">No schedule request:{% for group in groups_not_meeting %}{% if group.parent.id == session.group.parent.id %} {{group.acronym|upper}}{%endif%}{% endfor %}</div></br>
|
|
<table>
|
|
<tr>
|
|
<td class="h"></td>
|
|
<th class="h">Duration</th>
|
|
<th class="h">Size</th>
|
|
<th class="h">Requested By</th>
|
|
<th class="h">Area Director</th>
|
|
<th class="h">Conflicts</th>
|
|
<th class="h">Special Requests</th>
|
|
{% endifchanged %}
|
|
{%ifchanged%}
|
|
<tr><td class="status" colspan="7"><!-- {{session.group.parent.id}} -->{{session.status}}</td></tr>
|
|
{%endifchanged%}
|
|
<tr class="{% if forloop.counter|divisibleby:2 %}even{% else %}odd{% endif %}">
|
|
<th valign="top"><a href="{% url "ietf.secr.sreq.views.edit_mtg" num=meeting.number acronym=session.group.acronym %}">{{session.group.acronym|upper}}</a></th>
|
|
<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>
|
|
<td valign="top" align="center">{{session.attendees}}</td>
|
|
<td valign="top">
|
|
<a href="mailto:{{session.requested_by.email_address}}">{{session.requested_by}}</a>
|
|
</td>
|
|
<td valign="top">
|
|
{% if session.group.ad_role %}<a href="mailto:{{session.group.ad_role.email.address}}">{{session.group.ad_role.person}}</a> {%endif%}
|
|
</td>
|
|
<td width="30%" valign="top">{%if session.requested_duration%}<span>{% for constraint in session.constraints %}{%ifchanged%}</span><span class="{{constraint.name.slug}}">{%endifchanged%} {% if constraint %} {% if not forloop.first %}, {%endif%}{{constraint.brief_display}}{% if constraint.target.parent.id != constraint.source.parent.id and not constraint.person %} ({{constraint.target.parent.acronym}}){%endif%} {% endif %} {% endfor %}</span>{%endif%}</td>
|
|
<td width="30%" valign="top">{% if session.comments %}<i><font color="#800000">{{session.comments|linebreaksbr}}</font></i>{% endif %}</td>
|
|
</tr>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</table>
|
|
{% endblock %}
|