aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorMaZderMind2015-12-23 13:53:05 +0100
committerMaZderMind2015-12-23 13:53:05 +0100
commitc1c54bd1295d9de8b3575cef25efa3dd5f6b0c85 (patch)
treee4ebf2870757064c6d4f3f8d8e32d583e3ba0c13 /template/assemblies
parent2b671e30dadf312410be18f9eebe631bebc5846f (diff)
show warning when running in preview mode
Diffstat (limited to 'template/assemblies')
-rw-r--r--template/assemblies/header.phtml7
1 files changed, 7 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