From 06583183ab51094b3bf38ec34503f907047c2fcb Mon Sep 17 00:00:00 2001 From: Ike Date: Fri, 11 Oct 2019 23:08:02 +0200 Subject: Allow conference to override the not-started-yet page contents --- model/Conference.php | 7 +++++++ template/not-started.phtml | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/model/Conference.php b/model/Conference.php index 099e3ce..26bcc8b 100644 --- a/model/Conference.php +++ b/model/Conference.php @@ -188,6 +188,13 @@ class Conference extends ModelBase return $this->get('CONFERENCE.FOOTER_HTML'); } + public function hasNotStartedHtml() { + return $this->has('CONFERENCE.NOT_STARTED_HTML'); + } + public function getNotStartedHtml() { + return $this->get('CONFERENCE.NOT_STARTED_HTML'); + } + public function getRooms() { diff --git a/template/not-started.phtml b/template/not-started.phtml index 043474c..5149642 100644 --- a/template/not-started.phtml +++ b/template/not-started.phtml @@ -1,7 +1,11 @@
+hasNotStartedHtml()): ?> + getNotStartedHtml() ?> +

getTitle())?> has not started yet

Live streams will be available here once it has started. Please check back later.

+
-- cgit v1.2.3