Commit 5ae7481d authored by fred's avatar fred
Browse files

grid: add a time label for the 'Reveries' music part

parent ea5fe74d
......@@ -86,6 +86,8 @@ class Grid(TemplateView):
nonstop = [x for x in nonstops if i>=x[0]*2 and i<x[1]*2][0]
for time_cell in grid[-1]:
time_cell.nonstop = nonstop[2]
if nonstop[2] == 'Reveries':
time_cell.time_label = '02:00-05:00'
for schedule in Schedule.objects.all():
row_start = schedule.datetime.hour * 2 + \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment