mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
22 lines
No EOL
957 B
Text
22 lines
No EOL
957 B
Text
.schedule-time-column
|
|
.schedule-time-column-header
|
|
= Time
|
|
- (7..23).each do |hour|
|
|
.schedule-time-slot
|
|
= "#{hour}:00"
|
|
.schedule-time-slot
|
|
= "#{hour}:15"
|
|
.schedule-time-slot
|
|
= "#{hour}:30"
|
|
.schedule-time-slot
|
|
= "#{hour}:45"
|
|
|
|
- @rooms.each do |room|
|
|
.schedule-room-column{:id => "schedule-room-#{room.guid}", "room-guid" => room.guid}
|
|
.schedule-room-column-header
|
|
= room.name
|
|
- (7..23).each do |hour|
|
|
.schedule-room-slot{:id => "schedule-room-#{room.guid}-#{hour}-0", "room-guid" => room.guid, "hour" => "#{hour}:00"}
|
|
.schedule-room-slot{:id => "schedule-room-#{room.guid}-#{hour}-15", "room-guid" => room.guid, "hour" => "#{hour}:15"}
|
|
.schedule-room-slot{:id => "schedule-room-#{room.guid}-#{hour}-30", "room-guid" => room.guid, "hour" => "#{hour}:30"}
|
|
.schedule-room-slot{:id => "schedule-room-#{room.guid}-#{hour}-45", "room-guid" => room.guid, "hour" => "#{hour}:45"} |