aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cdav_widget_calendar.tpl
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
committerMax Kostikov <max@kostikov.co>2019-05-02 11:33:07 +0200
commit47fba5827bd106f53625b543f30643ca5ba1c16e (patch)
treebef05781eacc6dbc67d03899e0dde0257ce58096 /view/tpl/cdav_widget_calendar.tpl
parent47f75ad8bfbe8325a76ae6fe466aa8080fc87045 (diff)
parent516167c0f8579c8a068b6e52557e7e1109f897ae (diff)
downloadvolse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.gz
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.tar.bz2
volse-hubzilla-47fba5827bd106f53625b543f30643ca5ba1c16e.zip
Merge branch 'dev' into 'dev'
# Conflicts: # Zotlabs/Lib/ThreadItem.php
Diffstat (limited to 'view/tpl/cdav_widget_calendar.tpl')
-rw-r--r--view/tpl/cdav_widget_calendar.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/cdav_widget_calendar.tpl b/view/tpl/cdav_widget_calendar.tpl
index 8d6414ec6..a538cd26d 100644
--- a/view/tpl/cdav_widget_calendar.tpl
+++ b/view/tpl/cdav_widget_calendar.tpl
@@ -1,3 +1,17 @@
+<div class="widget">
+ <h3>{{$channel_calendars_label}}</h3>
+ {{foreach $channel_calendars as $channel_calendar}}
+ <div id="calendar-{{$channel_calendar.calendarid}}">
+ <div class="ml-3{{if !$channel_calendar@last}} form-group{{/if}}">
+ <i id="calendar-btn-{{$channel_calendar.calendarid}}" class="fa {{if $channel_calendar.switch}}fa-calendar-check-o{{else}}fa-calendar-o{{/if}} generic-icons fakelink" onclick="add_remove_json_source('{{$channel_calendar.json_source}}', '{{$channel_calendar.color}}', {{$channel_calendar.editable}})" style="color: {{$channel_calendar.color}};"></i>{{$channel_calendar.displayname}}
+ <div class="float-right">
+ <a href="#" onclick="exportDate(); return false;"><i id="download-icon" class="fa fa-cloud-download fakelink generic-icons-right"></i></a>
+ </div>
+ </div>
+ </div>
+ {{/foreach}}
+</div>
+
{{if $my_calendars}}
<div class="widget">
<h3>{{$my_calendars_label}}</h3>