|
| 1 | +{% extends "base.html" %}{% load ietf_filters %} |
| 2 | +{# Copyright The IETF Trust 2007, All Rights Reserved #} |
| 3 | +{% block title %}IETF {{ meeting.num }} Meeting Timeslot Requests{% endblock %} |
| 4 | +{% block morecss %} |
| 5 | +h2 { border-style: none none solid none } |
| 6 | +h3 { color: #0000a0 } |
| 7 | +th { text-align: right; vertical-align: text-top; } |
| 8 | +{% endblock morecss %} |
| 9 | + |
| 10 | +{% block content %} |
| 11 | +<h1>IETF {{ meeting.num }} Meeting Timeslot Requests</h1> |
| 12 | + |
| 13 | +{# cache for 15 minutes -- XXX need to add criteria #} |
| 14 | +{% load cache %} |
| 15 | +{% cache 900 meeting.num %} |
| 16 | +{% endcache %} |
| 17 | + |
| 18 | +{% regroup sessions|dictsort:"area" by area as area_list %} |
| 19 | +{% for area in area_list %} |
| 20 | + {% if area.grouper %}{% ifnotequal area.grouper|upper "1PLENARY" %} |
| 21 | + <h2>{{area.grouper|upper}}</h2> |
| 22 | + |
| 23 | + <h3>Summary</h3> |
| 24 | + <table> |
| 25 | + {% for session in area.list|dictsort:"acronym" %} |
| 26 | + {% if session.length_session1 %} |
| 27 | + <tr> |
| 28 | + <th>{{session.acronym|upper}}: </th> |
| 29 | + <td> |
| 30 | + {{session.length_session1_desc}} |
| 31 | + {% ifnotequal session.length_session2 "0" %} |
| 32 | + + {{session.length_session2_desc}} |
| 33 | + {% endifnotequal %} |
| 34 | + {% ifnotequal session.length_session3 "0" %} |
| 35 | + + {{session.length_session3_desc}} |
| 36 | + {% endifnotequal %} |
| 37 | + </td> |
| 38 | + </tr> |
| 39 | + {% endif %} |
| 40 | + {% endfor %} |
| 41 | + <tr><th>Unscheduled:</th><td> |
| 42 | + {% for wg in wgs %} |
| 43 | + {% ifequal wg.area_acronym|upper area.grouper|upper %} |
| 44 | + {% ifequal wg.meeting_scheduled|upper "NO" %} |
| 45 | + {{wg|upper}} |
| 46 | + {% endifequal %} |
| 47 | + {% endifequal %} |
| 48 | + {% endfor %} |
| 49 | + </td></tr> |
| 50 | + </table> |
| 51 | + |
| 52 | + |
| 53 | + {% for session in area.list|dictsort:"acronym" %} |
| 54 | + {% if session.length_session1 %} |
| 55 | + <h3>{{session.acronym|upper}}</h3> |
| 56 | + <table> |
| 57 | + <tr><th>Requested By: </th> |
| 58 | + <td>{{session.requested_by}} on {{session.requested_date}} |
| 59 | + {% ifnotequal session.requested_date session.last_modified_date %} |
| 60 | + (modified {{session.last_modified_date}}) |
| 61 | + {% endifnotequal %} |
| 62 | + </td> |
| 63 | + </tr> |
| 64 | + <tr> |
| 65 | + <th>Session Length: </th> |
| 66 | + <td> |
| 67 | + {{session.length_session1_desc}} |
| 68 | + {% ifnotequal session.length_session2 "0" %} |
| 69 | + + {{session.length_session2_desc}} |
| 70 | + {% endifnotequal %} |
| 71 | + {% ifnotequal session.length_session3 "0" %} |
| 72 | + + {{session.length_session3_desc}} |
| 73 | + {% endifnotequal %} |
| 74 | + </td> |
| 75 | + </tr> |
| 76 | + {% if session.conflict1 %} |
| 77 | + <tr><th>Primary Conflicts: </th><td>{{session.conflict1}}</td></tr> |
| 78 | + {% endif %} |
| 79 | + {% if session.conflict2 %} |
| 80 | + <tr><th>Secondary Conflicts: </th><td>{{session.conflict2}}</td></tr> |
| 81 | + {% endif %} |
| 82 | + {% if session.conflict3 %} |
| 83 | + <tr><th>Tertiary Conflicts: </th><td>{{session.conflict3}}</td></tr> |
| 84 | + {% endif %} |
| 85 | + {% if session.conflict_other %} |
| 86 | + <tr><th>Other Conflicts: </th><td>{{session.conflict_other}}</td></tr> |
| 87 | + {% endif %} |
| 88 | + {% if session.special_req %} |
| 89 | + <tr><th>Special Requests: </th><td>{{session.special_req}}</td></tr> |
| 90 | + {% endif %} |
| 91 | + {% if session.ad_comments %} |
| 92 | + <tr><th>AD Comments: </th><td>{{session.ad_comments}}</td></tr> |
| 93 | + {% endif %} |
| 94 | + <table> |
| 95 | + {% endif %} |
| 96 | + |
| 97 | + {%endfor%} |
| 98 | + {% endifnotequal %}{% endif %} |
| 99 | +{% endfor %} |
| 100 | +<br> |
| 101 | + |
| 102 | + |
| 103 | +{% endblock %} |
0 commit comments