aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgi/home.cgi7
1 files changed, 4 insertions, 3 deletions
diff --git a/cgi/home.cgi b/cgi/home.cgi
index 14b6be7..f5ad153 100644
--- a/cgi/home.cgi
+++ b/cgi/home.cgi
@@ -44,7 +44,7 @@ def words_collection(resp)
tout += $cgi.br
out += tout
}
- out
+ $cgi.p { out }
end
def graphic_collection(resp)
@@ -58,7 +58,8 @@ def graphic_collection(resp)
$cgi.table(class: "waste-table") {
$cgi.tr {
- $cgi.td(colspan: 2, class: "arrow") { "⇓" }
+ (Time.now.hour > 12 ? $cgi.td : "") +
+ $cgi.td(class: "arrow") { "⇓" }
} +
$cgi.tr {
tout = ""
@@ -90,7 +91,7 @@ $page =
$cgi.div { $cgi.h1 { "Welcome!" } } +
$cgi.div {
$cgi.h2 { "Our Next Bin Collections" } +
- $cgi.p { next_collection }
+ next_collection
} +
$cgi.div {
$cgi.h2 { "Speak Gently Over the Telephone" } +