aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/category.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/category.tpl')
-rw-r--r--template/yoga/category.tpl20
1 files changed, 12 insertions, 8 deletions
diff --git a/template/yoga/category.tpl b/template/yoga/category.tpl
index 11acfa853..0942a0f2d 100644
--- a/template/yoga/category.tpl
+++ b/template/yoga/category.tpl
@@ -138,19 +138,23 @@
<!-- END normal_view -->
</ul>
- <h2>{TITLE}</h2>
-
+ <h2>{TITLE}
+ <!-- BEGIN calendar -->
+ <br/>{calendar.TITLE}
+ <!-- END calendar --></h2>
</div> <!-- content -->
<!-- BEGIN calendar -->
-<!-- BEGIN styles -->
-<div class="calendarStyles">Style: {calendar.styles.BAR}</div>
-<!-- END styles -->
-
<!-- BEGIN views -->
-<div class="calendarViews">{calendar.views.BAR}</div>
+<div class="calendarViews">
+<select onchange="document.location = this.options[this.selectedIndex].value;">
+<!-- BEGIN view -->
+ <option value="{calendar.views.view.VALUE}" {calendar.views.view.SELECTED}>{calendar.views.view.CONTENT}</option>
+<!-- END view -->
+</select>
+</div><br/>
<!-- END views -->
-<br/>
+
<!-- BEGIN navbar -->
<div class="navigationBar">{calendar.navbar.BAR}</div>
<!-- END navbar -->