diff options
author | zotlabs <mike@macgirvin.com> | 2019-04-24 16:21:13 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-04-24 16:21:13 -0700 |
commit | 831b9d443330cb806871ab06aaa977adafbe661e (patch) | |
tree | 4c067a3b701ea56f10070c386b26a30f93666eb0 /view/tpl/cdav_widget_calendar.tpl | |
parent | e56c0a6251e8361ba65702151473a0560506db77 (diff) | |
parent | e937e8fff96a935b14a479c062f6b0d00b90b99d (diff) | |
download | volse-hubzilla-831b9d443330cb806871ab06aaa977adafbe661e.tar.gz volse-hubzilla-831b9d443330cb806871ab06aaa977adafbe661e.tar.bz2 volse-hubzilla-831b9d443330cb806871ab06aaa977adafbe661e.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'view/tpl/cdav_widget_calendar.tpl')
-rw-r--r-- | view/tpl/cdav_widget_calendar.tpl | 14 |
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> |