aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-10 12:18:37 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-10 12:18:37 +0200
commit274f69526fcfa0858a04a8f745650c6daad22a02 (patch)
treeed0b4713800b22b7a8707daba388f822f9ad4aa3 /view/tpl
parentb9b65d7dfbf0d5532c93bd7395b5dbbcb8c1b68f (diff)
downloadvolse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.tar.gz
volse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.tar.bz2
volse-hubzilla-274f69526fcfa0858a04a8f745650c6daad22a02.zip
calendar merge: implement channel calendar import in cdav/calendar
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/cdav_widget_calendar.tpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/tpl/cdav_widget_calendar.tpl b/view/tpl/cdav_widget_calendar.tpl
index a538cd26d..faee5a791 100644
--- a/view/tpl/cdav_widget_calendar.tpl
+++ b/view/tpl/cdav_widget_calendar.tpl
@@ -119,6 +119,9 @@
<div class="form-group">
<select id="import" name="target" class="form-control">
<option value="">{{$import_placeholder}}</option>
+ <optgroup label="{{$tools_options_label.0}}">
+ <option value="{{$channel_calendar.calendarid}}">{{$channel_calendar.displayname}}</option>
+ <optgroup label="{{$tools_options_label.1}}">
{{foreach $writable_calendars as $writable_calendar}}
<option value="{{$writable_calendar.id.0}}:{{$writable_calendar.id.1}}">{{$writable_calendar.displayname}}</option>
{{/foreach}}