aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/calendar_navbar.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/calendar_navbar.tpl')
-rw-r--r--template/yoga/calendar_navbar.tpl13
1 files changed, 13 insertions, 0 deletions
diff --git a/template/yoga/calendar_navbar.tpl b/template/yoga/calendar_navbar.tpl
new file mode 100644
index 000000000..8e35c766b
--- /dev/null
+++ b/template/yoga/calendar_navbar.tpl
@@ -0,0 +1,13 @@
+
+{foreach from=$datas item=data}
+ <span class="{$data.classname}">
+ {if isset($data.url) and $data.url!=""}
+ <a href="{$data.url}">{$data.label}</a>
+ {else}
+ {$data.label}
+ {/if}
+ {if isset($data.nb_images) and $data.nb_images!=""}
+ ({$data.nb_images})
+ {/if}
+ </span>
+{/foreach} \ No newline at end of file