Add tooltips to collections browse

This commit is contained in:
rijkvanzanten
2020-08-06 15:42:30 -04:00
parent 4bd4e4ed1b
commit 2163ed5f8e
2 changed files with 4 additions and 3 deletions

View File

@@ -48,7 +48,7 @@
<v-dialog v-model="confirmDelete" v-if="selection.length > 0">
<template #activator="{ on }">
<v-button rounded icon class="action-delete" @click="on">
<v-button rounded icon class="action-delete" @click="on" v-tooltip.bottom="$t('delete')">
<v-icon name="delete" />
</v-button>
</template>
@@ -67,11 +67,11 @@
</v-card>
</v-dialog>
<v-button rounded icon class="action-batch" v-if="selection.length > 1" :to="batchLink">
<v-button rounded icon class="action-batch" v-if="selection.length > 1" :to="batchLink" v-tooltip.bottom="$t('edit')">
<v-icon name="edit" />
</v-button>
<v-button rounded icon :to="addNewLink">
<v-button rounded icon :to="addNewLink" v-tooltip.bottom="$t('add_new')">
<v-icon name="add" />
</v-button>
</template>

View File

@@ -4,6 +4,7 @@
:class="{ active, 'has-content': !!value }"
v-click-outside="disable"
@click="active = true"
v-tooltip.bottom="active ? null : $t('search')"
>
<v-icon name="search" />
<input ref="input" :value="value" @input="emitValue" />