aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/assemblies/countdown.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/template/assemblies/countdown.phtml b/template/assemblies/countdown.phtml
new file mode 100644
index 0000000..e72079b
--- /dev/null
+++ b/template/assemblies/countdown.phtml
@@ -0,0 +1,4 @@
+<? if($next): ?>
+ <h2>See you soon at <?=h($next['name'])?></h2>
+ <span class="countdown"><?=h(days_diff_readable($next['start_date']))?></span>
+<? endif ?>