155155 {% for item in filtered_assignments %}
156156
157157 {% ifchanged item.timeslot.time|date:"Y-m-d" %}
158- < tr > < th class ="gap " colspan ="6 "> </ th > </ tr >
158+ < tr > < th class ="gap " colspan ="5 "> </ th > </ tr >
159159 < tr class ="warning ">
160- < th colspan ="6 ">
160+ < th colspan ="5 ">
161161 {# The anchor here needs to be in a div, not in the th, in order for the anchor-target margin hack to work #}
162162 < div class ="anchor-target " id ="{{item.timeslot.time|slugify}} "> </ div >
163163 {% if "-utc" in request.path %}
@@ -173,13 +173,14 @@ <h2>
173173 {% ifchanged %}
174174 < tr class ="info ">
175175 < th class ="text-nowrap text-right ">
176- {% if "-utc" in request.path %}
177- {{item.timeslot.utc_start_time|date:"G:i"}}-{{item.timeslot.utc_end_time|date:"G:i"}}
178- {% else %}
179- {{item.timeslot.time|date:"G:i"}}-{{item.timeslot.end_time|date:"G:i"}}
180- {% endif %}
176+ < span class ="hidden-xs ">
177+ {% include "meeting/timeslot_start_end.html" %}
178+ </ span >
181179 </ th >
182- < th colspan ="5 ">
180+ < th colspan ="4 ">
181+ < span class ="hidden-sm hidden-md hidden-lg ">
182+ {% include "meeting/timeslot_start_end.html" %}
183+ </ span >
183184 {% if "-utc" in request.path %}
184185 {{ item.timeslot.utc_start_time|date:"l"}}
185186 {% else %}
@@ -194,25 +195,28 @@ <h2>
194195 {% if item.timeslot.type.slug == 'break' or item.timeslot.type.slug == 'reg' or item.timeslot.type.slug == 'other' %}
195196 < tr id ="row-{{ item.slug }} " timeslot-type ="{{item.timeslot.type.slug}} ">
196197 < td class ="text-nowrap text-right ">
197- {% if "-utc" in request.path %}
198- {{item.timeslot.utc_start_time|date:"G:i"}}-{{item.timeslot.utc_end_time|date:"G:i"}}
199- {% else %}
200- {{item.timeslot.time|date:"G:i"}}-{{item.timeslot.end_time|date:"G:i"}}
201- {% endif %}
198+ < span class ="hidden-xs ">
199+ {% include "meeting/timeslot_start_end.html" %}
200+ </ span >
202201 </ td >
203202 < td colspan ="3 ">
204- {% if item.timeslot.show_location and item.timeslot.get_location %}
203+ < span class ="hidden-sm hidden-md hidden-lg ">
204+ {% include "meeting/timeslot_start_end.html" %}
205+ </ span >
206+ {% if item.timeslot.show_location and item.timeslot.get_html_location %}
205207 {% if schedule.meeting.number|add:"0" < 96 %}
206- < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
208+ < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
207209 {% elif item.timeslot.location.floorplan %}
208- < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
210+ < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
209211 {% else %}
210- {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}
212+ {{item.timeslot.get_html_location }}
211213 {% endif %}
212214 {% with item.timeslot.location.floorplan as floor %}
213215 {% if item.timeslot.location.floorplan %}
216+ < span class ="hidden-xs ">
214217 < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}#{{floor.name|xslugify}} "
215218 class ="pull-right " title ="{{floor.name}} "> < span class ="label label-blank label-wide "> {{floor.short}}</ span > </ a >
219+ </ span >
216220 {% endif %}
217221 {% endwith %}
218222 {% endif %}
@@ -228,22 +232,20 @@ <h2>
228232
229233 {% if item.session.current_status == 'canceled' %}
230234 < span class ="label label-danger pull-right "> CANCELLED</ span >
235+ {% else %}
236+ < div class ="pull-right padded-left ">
237+ {% if item.timeslot.type.slug == 'other' %}
238+ {% if item.session.agenda or item.session.remote_instructions or item.session.agenda_note %}
239+ {% include "meeting/session_buttons_include.html" with show_agenda=True session=item.session meeting=schedule.meeting %}
240+ {% else %}
241+ {% for slide in item.session.slides %}
242+ < a href ="{{slide.get_href}} "> {{ slide.title|clean_whitespace }}</ a >
243+ < br >
244+ {% endfor %}
245+ {% endif %}
246+ {% endif %}
247+ </ div >
231248 {% endif %}
232-
233- </ td >
234- < td class ="col-md-2 text-right ">
235- < span class ="hidden-xs ">
236- {% if item.timeslot.type.slug == 'other' %}
237- {% if item.session.agenda or item.session.remote_instructions or item.session.agenda_note %}
238- {% include "meeting/session_buttons_include.html" with show_agenda=True session=item.session meeting=schedule.meeting %}
239- {% else %}
240- {% for slide in item.session.slides %}
241- < a href ="{{slide.get_href}} "> {{ slide.title|clean_whitespace }}</ a >
242- < br >
243- {% endfor %}
244- {% endif %}
245- {% endif %}
246- </ span >
247249 </ td >
248250 </ tr >
249251 {% endif %}
@@ -253,20 +255,21 @@ <h2>
253255 < tr id ="row-{{item.slug}} " timeslot-type ="{{item.timeslot.type.slug}} " data-ske ="row-{{ item.slug }} " {% if item.timeslot.type.slug == 'plenary ' %}class ="{{item.timeslot.type.slug}}danger "{% endif %} >
254256 {% if item.timeslot.type.slug == 'plenary' %}
255257 < th class ="text-nowrap text-right ">
256- {% if "-utc" in request.path %}
257- {{item.timeslot.utc_start_time|date:"G:i"}}-{{item.timeslot.utc_end_time|date:"G:i"}}
258- {% else %}
259- {{item.timeslot.time|date:"G:i"}}-{{item.timeslot.end_time|date:"G:i"}}
260- {% endif %}
258+ < span class ="hidden-xs ">
259+ {% include "meeting/timeslot_start_end.html" %}
260+ </ span >
261261 </ th >
262262 < td colspan ="3 ">
263- {% if item.timeslot.show_location and item.timeslot.get_location %}
263+ < span class ="hidden-sm hidden-md hidden-lg ">
264+ {% include "meeting/timeslot_start_end.html" %}
265+ </ span >
266+ {% if item.timeslot.show_location and item.timeslot.get_html_location %}
264267 {% if schedule.meeting.number|add:"0" < 96 %}
265- < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
268+ < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
266269 {% elif item.timeslot.location.floorplan %}
267- < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
270+ < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
268271 {% else %}
269- {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}
272+ {{item.timeslot.get_html_location }}
270273 {% endif %}
271274 {% endif %}
272275 </ td >
@@ -275,19 +278,21 @@ <h2>
275278 < td >
276279 {% with item.timeslot.location.floorplan as floor %}
277280 {% if item.timeslot.location.floorplan %}
281+ < span class ="hidden-xs ">
278282 < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}#{{floor.name|xslugify}} "
279283 class ="pull-right " title ="{{floor.name}} "> < span class ="label label-blank "> {{floor.short}}</ span > </ a >
284+ </ span >
280285 {% endif %}
281286 {% endwith %}
282287 </ td >
283288 < td >
284- {% if item.timeslot.show_location and item.timeslot.get_location %}
289+ {% if item.timeslot.show_location and item.timeslot.get_html_location %}
285290 {% if schedule.meeting.number|add:"0" < 96 %}
286- < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
291+ < a href ="https://tools.ietf.org/agenda/{{schedule.meeting.number}}/venue/?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
287292 {% elif item.timeslot.location.floorplan %}
288- < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_location |xslugify }} "> {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}</ a >
293+ < a href ="{% url 'ietf.meeting.views.floor_plan' num=schedule.meeting.number %}?room={{ item.timeslot.get_html_location |xslugify }} "> {{item.timeslot.get_html_location }}</ a >
289294 {% else %}
290- {{item.timeslot.get_location|split:"/"|join:"/ < wbr > " }}
295+ {{item.timeslot.get_html_location }}
291296 {% endif %}
292297 {% endif %}
293298 </ td >
@@ -316,25 +321,23 @@ <h2>
316321 </ a >
317322 {% endif %}
318323
319- {% if item.session.historic_group.state_id == "bof" %}
320- < span class ="label label-success pull-right "> BOF</ span >
321- {% endif %}
322-
323324 {% if item.session.current_status == 'canceled' %}
324325 < span class ="label label-danger pull-right "> CANCELLED</ span >
326+ {% else %}
327+ < div class ="pull-right padded-left ">
328+ {% include "meeting/session_buttons_include.html" with show_agenda=True session=item.session meeting=schedule.meeting %}
329+ </ div >
330+ {% endif %}
331+
332+ {% if item.session.historic_group.state_id == "bof" %}
333+ < span class ="label label-success pull-right "> BOF</ span >
325334 {% endif %}
326335
327336 {% if item.session.agenda_note|first_url|conference_url %}
328337 < br > < a href ={{item.session.agenda_note|first_url}} > {{item.session.agenda_note|slice:":23"}}</ a >
329338 {% elif item.session.agenda_note %}
330339 < br > < span class ="text-danger "> {{item.session.agenda_note}}</ span >
331340 {% endif %}
332-
333- </ td >
334- < td class ="text-nowrap text-right ">
335- < span class ="hidden-xs ">
336- {% include "meeting/session_buttons_include.html" with show_agenda=True session=item.session meeting=schedule.meeting %}
337- </ span >
338341 </ td >
339342 </ tr >
340343 {% endif %}
0 commit comments