forked from bofh/fetsite
added header image to infoscreen
This commit is contained in:
@@ -53,11 +53,12 @@
|
||||
|
||||
</div>
|
||||
<%
|
||||
raw("zeitfunktion")
|
||||
require 'time'
|
||||
close_time = Time.parse "03:00 pm"
|
||||
open_time = Time.parse "09:00 am"
|
||||
current_time = Time.now
|
||||
if (current_time > open_time) && (current_time < close_time)
|
||||
if (current_time > open_time)
|
||||
raw("OPEN")
|
||||
else
|
||||
raw("CLOSED")
|
||||
|
||||
Reference in New Issue
Block a user