aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/cdav_widget_calendar.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-19 15:32:56 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-19 15:32:56 +0200
commit9b6e46dc6b245a229b0b5af0efea88c2838ce56a (patch)
tree45452530ab33c9c41e87f768256b946999560185 /view/tpl/cdav_widget_calendar.tpl
parentb7cb2a295148f64ad56a3d428f7a781a232601fd (diff)
downloadvolse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.tar.gz
volse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.tar.bz2
volse-hubzilla-9b6e46dc6b245a229b0b5af0efea88c2838ce56a.zip
calendar merge initial commit
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>