Added possibility to export the calendar in iCal format (closes #141)

This commit is contained in:
Bernd Bestel
2019-03-04 17:44:48 +01:00
parent 77b0bc675c
commit 90291fdbca
14 changed files with 336 additions and 71 deletions

View File

@@ -16,12 +16,17 @@
@section('content')
<div class="row">
<div class="col">
<h1>@yield('title')</h1>
<h1>
@yield('title')
<a id="ical-button" class="btn btn-outline-dark" href="#">
<i class="fas fa-calendar-plus"></i>&nbsp;{{ $L('Export as iCal') }}
</a>
</h1>
</div>
</div>
<script>
var fullcalendarEventSources = {!! json_encode($fullcalendarEventSources) !!}
var fullcalendarEventSources = {!! json_encode(array($fullcalendarEventSources)) !!}
</script>
<div class="row">