Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
radiopanik
panikweb
Commits
5ae7481d
Commit
5ae7481d
authored
Aug 16, 2013
by
fred
Browse files
grid: add a time label for the 'Reveries' music part
parent
ea5fe74d
Changes
1
Hide whitespace changes
Inline
Side-by-side
panikweb/views.py
View file @
5ae7481d
...
...
@@ -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
+
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment