Skip to content
Snippets Groups Projects
Commit 82e2beb6 authored by Martin Mareš's avatar Martin Mareš
Browse files

Fix meeting box height

parent a52f1fce
Branches
No related tags found
No related merge requests found
...@@ -188,7 +188,7 @@ def main_page(): ...@@ -188,7 +188,7 @@ def main_page():
"x": row_offset + i * room_box_width + 4 + 10*int(coll), "x": row_offset + i * room_box_width + 4 + 10*int(coll),
"y": int(start / 3600. * room_hour_height), "y": int(start / 3600. * room_hour_height),
"w": room_box_width - 7 - 10*int(coll), "w": room_box_width - 7 - 10*int(coll),
"h": int((end - start) / 3600 * room_hour_height), "h": int((end - start) / 3600 * room_hour_height) - 1,
"start": time.strftime("%H:%M", time.localtime(start_t)), "start": time.strftime("%H:%M", time.localtime(start_t)),
"end": time.strftime("%H:%M", time.localtime(end_t)), "end": time.strftime("%H:%M", time.localtime(end_t)),
"topic": r.topic, "topic": r.topic,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment