mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 12:20:22 +00:00
Added possibility to export the calendar in iCal format (closes #141)
This commit is contained in:
@@ -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> {{ $L('Export as iCal') }}
|
||||
</a>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var fullcalendarEventSources = {!! json_encode($fullcalendarEventSources) !!}
|
||||
var fullcalendarEventSources = {!! json_encode(array($fullcalendarEventSources)) !!}
|
||||
</script>
|
||||
|
||||
<div class="row">
|
||||
|
@@ -38,6 +38,7 @@
|
||||
<th>{{ $L('Expires') }}</th>
|
||||
<th>{{ $L('Last used') }}</th>
|
||||
<th>{{ $L('Created') }}</th>
|
||||
<th>{{ $L('Key type') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody class="d-none">
|
||||
@@ -66,6 +67,9 @@
|
||||
{{ $apiKey->row_created_timestamp }}
|
||||
<time class="timeago timeago-contextual" datetime="{{ $apiKey->row_created_timestamp }}"></time>
|
||||
</td>
|
||||
<td>
|
||||
{{ $apiKey->key_type }}
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
Reference in New Issue
Block a user