From 7a5c8ff018936ed7328042c88a2edae3c29d91be Mon Sep 17 00:00:00 2001 From: Florian Larysch Date: Wed, 2 Sep 2015 12:56:32 +0200 Subject: Automatically open/close conference based on time. Toggle the 'closed' bit based on the current time, rather than manually setting it in the config. This patch also adds a distinction between the time before the conference and after: Different pages will be displayed as to not confuse the user. --- template/assemblies/recordings.phtml | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 template/assemblies/recordings.phtml (limited to 'template/assemblies/recordings.phtml') diff --git a/template/assemblies/recordings.phtml b/template/assemblies/recordings.phtml new file mode 100644 index 0000000..71b7866 --- /dev/null +++ b/template/assemblies/recordings.phtml @@ -0,0 +1,41 @@ +hasReleases() || $conference->hasRelive()): ?> + hasReleases() && $conference->hasRelive()) ? + // both enabled + 'col-sm-6 col-xs-12' : + + // only one of both enabled + 'col-xs-12'; + ?> +
+ +
+

Recordings

+
+ + hasReleases()): ?> +
+ +
+ + + hasRelive()): ?> +
+
+ +
+
+ + +
+ -- cgit v1.2.3