diff --git a/components/Event.vue b/components/Event.vue
index c0bd9b31..ea8878bc 100644
--- a/components/Event.vue
+++ b/components/Event.vue
@@ -19,7 +19,7 @@
client-only
v-menu(offset-y)
template(v-slot:activator="{on}")
- v-btn.align-self-end(icon v-on='on' color='primary' aria-label='more')
+ v-btn.align-self-end(icon v-on='on' color='primary' title='more' aria-label='more')
v-icon(v-text='mdiDotsVertical')
v-list(dense)
v-list-item-group
diff --git a/components/Nav.vue b/components/Nav.vue
index e4e81ab2..1abb2f7b 100644
--- a/components/Nav.vue
+++ b/components/Nav.vue
@@ -11,19 +11,19 @@
v-list-item-subtitle {{settings.description}}
v-spacer
- v-btn(v-if='$auth.loggedIn || settings.allow_anon_event' icon nuxt to='/add' :aria-label='$t("common.add_event")')
+ v-btn(v-if='$auth.loggedIn || settings.allow_anon_event' icon nuxt to='/add' :aria-label='$t("common.add_event")' :title='$t("common.add_event")')
v-icon(large color='primary' v-text='mdiPlus')
- v-btn(icon nuxt to='/export' :aria-label='$t("common.share")')
+ v-btn(icon nuxt to='/export' :title='$t("common.share")' :aria-label='$t("common.share")')
v-icon(v-text='mdiShareVariant')
- v-btn(v-if='!$auth.loggedIn' icon nuxt to='/login' :aria-label='$t("common.login")')
+ v-btn(v-if='!$auth.loggedIn' icon nuxt to='/login' :title='$t("common.login")' :aria-label='$t("common.login")')
v-icon(v-text='mdiLogin')
client-only
v-menu(v-if='$auth.loggedIn' offset-y)
template(v-slot:activator="{ on, attrs }")
- v-btn(icon v-bind='attrs' v-on='on' aria-label='Menu')
+ v-btn(icon v-bind='attrs' v-on='on' title='Menu' aria-label='Menu')
v-icon(v-text='mdiDotsVertical')
v-list
v-list-item(nuxt to='/settings')
@@ -44,11 +44,11 @@
v-list-item-content
v-list-item-title {{$t('common.logout')}}
template(#placeholder)
- v-btn(v-if='$auth.loggedIn' icon aria-label='Menu')
+ v-btn(v-if='$auth.loggedIn' icon aria-label='Menu' title='Menu')
v-icon(v-text='mdiDotsVertical')
- v-btn(icon target='_blank' :href='feedLink' aria-label='RSS')
+ v-btn(icon target='_blank' :href='feedLink' title='RSS' aria-label='RSS')
v-icon(color='orange' v-text='mdiRss')
diff --git a/components/admin/Events.vue b/components/admin/Events.vue
index 31a0a322..98df1a97 100644
--- a/components/admin/Events.vue
+++ b/components/admin/Events.vue
@@ -40,7 +40,7 @@ export default {
try {
await this.$axios.$put(`/event/confirm/${event.id}`)
this.$emit('confirmed', event.id)
- this.$root.$message('event.confirmed')
+ this.$root.$message('event.confirmed', { color: 'success' })
} catch (e) {}
},
async remove (event) {
diff --git a/pages/add/WhereInput.vue b/pages/add/WhereInput.vue
index 79315f49..3755b858 100644
--- a/pages/add/WhereInput.vue
+++ b/pages/add/WhereInput.vue
@@ -13,12 +13,13 @@
no-filter
item-text='name'
@change='selectPlace')
- template(v-slot:item="{ item }")
- v-list-item-content(two-line v-if='item.create')
- v-list-item-title {{item.name}}
- v-list-item-content(two-line v-else)
- v-list-item-title {{item.name}}
- v-list-item-subtitle {{item.address}}
+ template(v-slot:item="{ item, attrs, on }")
+ v-list-item(v-bind='attrs' v-on='on')
+ v-list-item-content(two-line v-if='item.create')
+ v-list-item-title {{item.name}}
+ v-list-item-content(two-line v-else)
+ v-list-item-title(v-text='item.name')
+ v-list-item-subtitle(v-text='item.address')
v-col(cols=12 md=6)
v-text-field(ref='address'
diff --git a/pages/event/_slug.vue b/pages/event/_slug.vue
index 88f64b34..d00a5147 100644
--- a/pages/event/_slug.vue
+++ b/pages/event/_slug.vue
@@ -21,7 +21,7 @@ v-container#event.pa-0.pa-sm-2
.p-description.text-body-1.pa-3.rounded(v-if='!hasMedia && event.description' itemprop='description' v-html='event.description')
v-col.col-12.col-lg-4
- v-card
+ v-card(outlined)
v-card-text
v-icon.float-right(v-if='event.parentId' color='success' v-text='mdiRepeat')
.title.text-h5
@@ -47,19 +47,14 @@ v-container#event.pa-0.pa-sm-2
//- info & actions
v-toolbar
- v-tooltip(bottom) {{$t('common.copy_link')}}
- template(v-slot:activator="{on, attrs} ")
- v-btn.ml-2(large icon v-on='on' color='primary' @click='clipboard(`${settings.baseurl}/event/${event.slug || event.id}`)')
- v-icon(v-text='mdiContentCopy')
- v-tooltip(bottom) {{$t('common.embed')}}
- template(v-slot:activator="{on, attrs} ")
- v-btn.ml-2(large icon v-on='on' @click='showEmbed=true' color='primary')
- v-icon(v-text='mdiCodeTags')
- v-tooltip(bottom) {{$t('common.add_to_calendar')}}
- template(v-slot:activator="{on, attrs} ")
- v-btn.ml-2(large icon v-on='on' color='primary'
- :href='`/api/event/${event.slug || event.id}.ics`')
- v-icon(v-text='mdiCalendarExport')
+ v-btn.ml-2(large icon :title="$t('common.copy_link')" :aria-label="$t('common.copy_link')" color='primary'
+ @click='clipboard(`${settings.baseurl}/event/${event.slug || event.id}`)')
+ v-icon(v-text='mdiContentCopy')
+ v-btn.ml-2(large icon :title="$t('common.embed')" :aria-label="$t('common.embed')" @click='showEmbed=true' color='primary')
+ v-icon(v-text='mdiCodeTags')
+ v-btn.ml-2(large icon :title="$t('common.add_to_calendar')" color='primary' :aria-label="$t('common.add_to_calendar')"
+ :href='`/api/event/${event.slug || event.id}.ics`')
+ v-icon(v-text='mdiCalendarExport')
.p-description.text-body-1.pa-3.rounded(v-if='hasMedia && event.description' itemprop='description' v-html='event.description')
@@ -87,7 +82,7 @@ v-container#event.pa-0.pa-sm-2
span {{currentAttachmentLabel}}
v-card.mb-3.resources(v-if='settings.enable_resources' v-for='resource in event.resources'
- :key='resource.id' :class='{disabled: resource.hidden}' elevation='10' outlined)
+ :key='resource.id' elevation='10' :flat='resource.hidden' outlined)
v-card-title
v-menu(v-if='$auth.user && $auth.user.is_admin' offset-y)
template(v-slot:activator="{ on }")
@@ -103,6 +98,8 @@ v-container#event.pa-0.pa-sm-2
v-list-item(@click='blockUser(resource)')
v-list-item-title {{$t('admin.block_user')}}
+ v-icon.mr-1(v-show='resource.hidden' v-text='mdiEyeOff')
+
a(:href='resource.data.url || resource.data.context')
small {{resource.data.published|dateFormat('ddd, D MMMM HH:mm')}}