From c7833b07d2ac278a1d546536412edcaa02b4f749 Mon Sep 17 00:00:00 2001 From: dizorganised Date: Wed, 11 Oct 2023 13:06:22 +0100 Subject: [PATCH] changes wording of on air boxes/general rewording --- Dockerfile | 2 ++ views/elements/current_and_next.tmpl | 4 ++-- views/elements/message_box.tmpl | 2 +- views/index.tmpl | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2d3f81b6..8038c880 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,5 +18,7 @@ EXPOSE 3000 RUN go get -d -v +ENV TZ "Europe/London" + ENTRYPOINT echo "\033[0;31mWARNING: \033[0mRunning with Docker will change \"localhost\" to \"0.0.0.0\" in your config. Remember to change it back!" && \ sed -i 's/localhost/0.0.0.0/g' *.toml && make run diff --git a/views/elements/current_and_next.tmpl b/views/elements/current_and_next.tmpl index 5593629f..be459571 100644 --- a/views/elements/current_and_next.tmpl +++ b/views/elements/current_and_next.tmpl @@ -18,7 +18,7 @@ {{else}}
{{end}} -

Now

+

Live now:

{{template "current_next" .Current}} {{if .Current.Url}} @@ -35,7 +35,7 @@ {{else}}
{{end}} -

Next

+

Up next:

{{template "current_next" .Next}} {{if .Next.Url}} diff --git a/views/elements/message_box.tmpl b/views/elements/message_box.tmpl index b148d62d..9ba3cc2d 100644 --- a/views/elements/message_box.tmpl +++ b/views/elements/message_box.tmpl @@ -9,7 +9,7 @@ {{else if not .ShowOnAir}} "No shows are on air right now, so there's no-one to send a message to." disabled {{else}} - "Why not send a message to the studio presenters? Have a bit of banter, share your opinions or simply request your favourite song?" + "Why not send a message to the studio presenters? Thoughts, banter and song requests all go here!" {{end}}>