File diff d9e8a72d140c → b56ca32259c8
pinaxcon/templates/symposion/schedule/_grid.html
Show inline comments
 
{% load lca2018_tags %}
 
{% load waffle_tags %}
 

	
 
<table class="calendar table table-bordered">
 
<table class="calendar table table-bordered" data-date="{{ timetable.day.date|date:'c' }}">
 
  <thead>
 
    <tr>
 
      <th scope="row" class="time"><em>Room</em></th>
...
 
@@ -26,9 +26,9 @@
 
  <tbody>
 
    {% for row in timetable %}
 
    <tr class="calendar-row">
 
      <th scope="row" class="time"><p>{{ row.time|date:"h:iA" }}</p></th>
 
      <th scope="row" class="time" data-time="{{ timetable.day.date|date:'c' }}T{{ row.time|date:'c' }}"><p>{{ row.time|date:"h:iA" }}</p></th>
 
      {% for slot in row.slots %}
 
      <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slot.rowspan }}">
 
      <td class="slot slot-{{ slot.kind.label }}" colspan="{{ slot.colspan }}" rowspan="{{ slot.rowspan }}" data-startdatetime="{{ slot.start_datetime }}" data-enddatetime="{{ slot.end_datetime }}">
 
        {% with slot.kind.label.lower as label %}
 
        {% if label == "talk" or label == "tutorial" %}
 
          {% if slot.content.unpublish and not request.user.is_staff %}