File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1157,12 +1157,8 @@ def agenda_text(self):
11571157 def ical_status (self ):
11581158 if self .status .slug == 'canceled' : # sic
11591159 return "CANCELLED"
1160- elif (datetime .date .today () - self .meeting .date ) > datetime .timedelta (days = 5 ):
1161- # this is a bit simpleminded, better would be to look at the
1162- # time(s) of the timeslot(s) of the official meeting schedule.
1163- return "CONFIRMED"
11641160 else :
1165- return "TENTATIVE "
1161+ return "CONFIRMED "
11661162
11671163 def agenda_file (self ):
11681164 if not hasattr (self , '_agenda_file' ):
Original file line number Diff line number Diff line change @@ -265,10 +265,14 @@ <h2>
265265 </ a >
266266 {% endif %}
267267
268- {% if item.session.historic_group.state_id = "bof" %}
268+ {% if item.session.historic_group.state_id == "bof" %}
269269 < span class ="label label-success pull-right "> BOF</ span >
270270 {% endif %}
271271
272+ {% if item.session.status.slug == 'canceled' %}
273+ < span class ="label label-danger pull-right "> CANCELLED</ span >
274+ {% endif %}
275+
272276 {% if item.session.agenda_note %}
273277 < br > < span class ="text-danger "> {{item.session.agenda_note}}</ span >
274278 {% endif %}
Original file line number Diff line number Diff line change 2020{% endif %}{% if item.timeslot.type.slug == "session" %}{% if item.session.historic_group %}{% ifchanged %}
2121
2222{{ item.timeslot.time_desc }} {{ item.timeslot.name }}
23- {% endifchanged %}{{ item.timeslot.location.name|ljust:14 }} {{ item.session.historic_group.historic_parent.acronym|upper|ljust:4 }} {{ item.session.historic_group.acronym|ljust:10 }} {{ item.session.historic_group.name }} {% if item.session.historic_group.state_id == "bof" %}BOF{% elif item.session.historic_group.type_id == "wg" %}WG{% endif %}{% if item.session.agenda_note %} - {{ item.session.agenda_note }}{% endif %}
23+ {% endifchanged %}{{ item.timeslot.location.name|ljust:14 }} {{ item.session.historic_group.historic_parent.acronym|upper|ljust:4 }} {{ item.session.historic_group.acronym|ljust:10 }} {{ item.session.historic_group.name }} {% if item.session.historic_group.state_id == "bof" %}BOF{% elif item.session.historic_group.type_id == "wg" %}WG{% endif %}{% if item.session.agenda_note %} - {{ item.session.agenda_note }}{% endif %}{% if item.session.status.slug == 'canceled' %} *** CANCELLED ***{% endif %}
2424{% endif %}{% endif %}{% if item.timeslot.type.slug == "break" %}
2525{{ item.timeslot.time_desc }} {{ item.timeslot.name }}{% if schedule.meeting.break_area and item.timeslot.show_location %} - {{ schedule.meeting.break_area }}{% endif %}{% endif %}{% if item.timeslot.type.slug == "other" %}
2626{{ item.timeslot.time_desc }} {{ item.timeslot.name }} - {{ item.timeslot.location.name }}{% endif %}{% endfor %}
You can’t perform that action at this time.
0 commit comments