diff --git a/components/Calendar.vue b/components/Calendar.vue index 5f9debac..3b46f0e6 100644 --- a/components/Calendar.vue +++ b/components/Calendar.vue @@ -42,7 +42,7 @@ export default { ...mapGetters(['filteredEvents']), attributes () { let attributes = [] - attributes.push ({ key: 'today', dates: new Date(), highlight: { color: 'yellow' }}) + attributes.push ({ key: 'today', dates: new Date(), highlight: { color: 'green' }}) attributes = attributes.concat(this.filteredEvents .filter(e => !e.multidate) diff --git a/components/Nav.vue b/components/Nav.vue index 1352eaad..4c91fe25 100644 --- a/components/Nav.vue +++ b/components/Nav.vue @@ -9,7 +9,7 @@ el-menu-item(v-if='!$auth.loggedIn' :title="$t('common.login')") v-icon(color='lightgreen' name='user') - nuxt-link(to='/add') + nuxt-link(v-if='could_add' to='/add') el-menu-item(:title="$t('common.add_event')") v-icon(color='lightgreen' name='plus') @@ -17,8 +17,9 @@ placement="bottom" trigger="click") Search(past-filter) - el-menu-item(slot='reference') + el-menu-item(slot='reference' :title="$t('common.search')" icon='el-share-button') v-icon(color='lightblue' name='search') + el-badge(v-if='filters.tags.length+filters.places.length>0' is-dot type='warning') nuxt-link(to='/settings') el-menu-item(v-if='$auth.loggedIn' :title="$t('common.settings')") @@ -38,14 +39,22 @@