allowgeoloc: add translations, fix padding in whereinput, center text in show-map dialog

This commit is contained in:
sedum
2022-11-11 06:01:50 +01:00
parent 537a68f54d
commit 7fdc6ca07f
13 changed files with 245 additions and 30 deletions

View File

@@ -15,7 +15,7 @@ client-only(placeholder='Loading...' )
:lat-lng="item.coordinates")
LPopup(:content="item.address")
v-row.my-4.d-flex.flex-column.align-center
v-row.my-4.d-flex.flex-column.align-center.text-center
.text-h6
v-icon(v-text='mdiMapMarker' )
nuxt-link.ml-2.p-name.text-decoration-none(v-text="event.place.name" :to='`/place/${event.place.name}`')

View File

@@ -1,5 +1,5 @@
<template lang="pug">
v-row
event.coordinates_search<template lang="pug">
v-row.mb-4
v-col(cols=12 md=6)
v-combobox(ref='place'
:rules="[$validators.required('common.where')]"
@@ -35,14 +35,14 @@ v-row
:prepend-icon='mdiMapSearch'
:disabled='disableDetails'
@input.native='searchCoordinates'
:label="$t('common.coordinates')"
:label="$t('event.coordinates_search')"
:value='value.detailsView'
persistent-hint hide-no-data clearable no-filter
:loading='loading'
@change='selectDetails'
@focus='searchCoordinates'
:items="detailsList"
:hint="$t('event.coordinates_description')")
:hint="$t('event.coordinates_search_description')")
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')