diff --git a/components/admin/Announcement.vue b/components/admin/Announcement.vue index 07f78450..4de08c24 100644 --- a/components/admin/Announcement.vue +++ b/components/admin/Announcement.vue @@ -22,6 +22,7 @@ v-container v-data-table( v-if='announcements.length' :footer-props='{ prevIcon: mdiChevronLeft, nextIcon: mdiChevronRight }' + :header-props='{ sortIcon: mdiChevronDown }' :headers='headers' :items='announcements') template(v-slot:item.actions='{ item }') @@ -35,21 +36,21 @@ import { mapActions } from 'vuex' import cloneDeep from 'lodash/cloneDeep' import Editor from '../Editor' import Announcement from '../Announcement' -import { mdiPlus, mdiChevronRight, mdiChevronLeft } from '@mdi/js' +import { mdiPlus, mdiChevronRight, mdiChevronLeft, mdiChevronDown } from '@mdi/js' export default { components: { Editor, Announcement }, data() { return { - mdiPlus, mdiChevronRight, mdiChevronLeft, + mdiPlus, mdiChevronRight, mdiChevronLeft, mdiChevronDown, valid: false, dialog: false, editing: false, announcements: [], loading: false, headers: [ - { value: 'title', text: 'Title' }, - { value: 'actions', text: 'Actions', align: 'right' } + { value: 'title', text: this.$t('common.title') }, + { value: 'actions', text: this.$t('common.actions'), align: 'right' } ], announcement: { title: '', announcement: '' } } diff --git a/components/admin/Collections.vue b/components/admin/Collections.vue index 2df2b028..260a796d 100644 --- a/components/admin/Collections.vue +++ b/components/admin/Collections.vue @@ -4,7 +4,7 @@ v-container v-spacer v-text-field(v-model='search' :append-icon='mdiMagnify' outlined rounded - label='Search' + :label="$t('common.search')" single-line hide-details) v-card-subtitle(v-html="$t('admin.collections_description')") @@ -75,6 +75,7 @@ v-container :headers='filterHeaders' :items='filters' :hide-default-footer='filters.length < 5' + :header-props='{ sortIcon: mdiChevronDown }' :footer-props='{ prevIcon: mdiChevronLeft, nextIcon: mdiChevronRight }') template(v-slot:item.actions='{ item }') v-btn(@click='removeFilter(item)' color='error' icon) @@ -94,6 +95,7 @@ v-container :headers='collectionHeaders' :items='collections' :hide-default-footer='collections.length < 5' + :header-props='{ sortIcon: mdiChevronDown }' :footer-props='{ prevIcon: mdiChevronLeft, nextIcon: mdiChevronRight }' :search='search') template(v-slot:item.filters='{ item }') @@ -108,12 +110,12 @@ v-container