This commit is contained in:
les
2020-10-16 14:47:18 +02:00
parent be0cfc5d2a
commit 4853e4fbdf
3 changed files with 10 additions and 3 deletions

View File

@@ -1,13 +1,19 @@
<template lang="pug">
v-container#home(fluid)
//- Announcements
Announcement(v-for='announcement in announcements' :key='`a_${announcement.id}`' :announcement='announcement')
#calbar.row.mb-2
.col-xl-5.col-lg-5.col-sm-5.col-xs-12
//- this is needed as v-calendar does not support SSR
//- https://github.com/nathanreyes/v-calendar/issues/336
client-only
Calendar
.col
Search(past-filter recurrent-filter)
Search
#events
Event(v-for='event in events' :key='event.id' :event='event')

View File

@@ -12,7 +12,7 @@
v-spacer
v-tooltip(bottom) {{$t('common.add')}}
v-tooltip(bottom) {{$t('common.add_event')}}
template(v-slot:activator='{ on }')
v-btn(v-if='could_add' icon nuxt to='/add' v-on='on')
v-icon mdi-calendar-plus