aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2015-12-23 13:53:05 +0100
committerMaZderMind2015-12-23 13:53:05 +0100
commitc1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 (patch)
treee4ebf2870757064c6d4f3f8d8e32d583e3ba0c13 /template
parent2b671e30dadf312410be18f9eebe631bebc5846f (diff)
show warning when running in preview mode
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/header.phtml7
-rw-r--r--template/page.phtml6
2 files changed, 13 insertions, 0 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index 955d074..57beb5f 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -31,3 +31,10 @@
</div>
</div>
</nav>
+
+
+<? if($conference->isPreviewEnabled()): ?>
+<div class="preview-warning">
+ PREVIEW MODE
+</div>
+<? endif ?> \ No newline at end of file
diff --git a/template/page.phtml b/template/page.phtml
index a358a27..73a12ad 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -1,5 +1,11 @@
<!DOCTYPE html>
+<? if($conference->isPreviewEnabled()): ?>
+<!--
+ RUNNING IN PREVIEW MODE
+ OPEN/CLOSED INFORMATION IS IGNORED!
+-->
+<? endif ?>
<html>
<head>