blob: d912284d0b4ff130f2104bce9ce78a7e53feb0b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
extends MarginContainer
var timeslot_id
func populate(data):
timeslot_id = data.id
$"%Time".text = "%s ... " % DataHelpers.timeofday(data.start_time)
$"%Name".text = data.name
func _on_Button_button_up():
$"/root/Main".nav_screen("TimeSlot", TimeSlot, "get_by_id", [timeslot_id])
|