forked from potsda.mn/mobilizon
Various homeview fixes
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
be0b3245bf
commit
444e0d6a0c
|
@ -112,7 +112,7 @@
|
|||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
import type { LatLng } from "leaflet";
|
||||
import { LatLng } from "leaflet";
|
||||
import { Address, IAddress, addressFullName } from "../../types/address.model";
|
||||
import AddressInfo from "../../components/Address/AddressInfo.vue";
|
||||
import { computed, ref, watch, defineAsyncComponent } from "vue";
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
:type="AddressSearchType.ADMINISTRATIVE"
|
||||
:doGeoLocation="false"
|
||||
v-model="location"
|
||||
:hide-map="true"
|
||||
:hide-selected="true"
|
||||
/>
|
||||
<o-button type="submit" icon-left="magnify">
|
||||
<template v-if="search">{{ t("Go!") }}</template>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div class="mb-2">
|
||||
<div class="w-full flex flex-wrap gap-3 items-center">
|
||||
<h2
|
||||
class="text-xl font-bold tracking-tight text-gray-900 dark:text-gray-100"
|
||||
class="text-xl font-bold tracking-tight text-gray-900 dark:text-gray-100 mt-0"
|
||||
>
|
||||
<slot name="title" />
|
||||
</h2>
|
||||
|
|
|
@ -5,7 +5,12 @@
|
|||
v-on="attrs"
|
||||
>
|
||||
<template #title>
|
||||
{{ t("Events nearby {position}", { position: userLocationName }) }}
|
||||
<template v-if="userLocationName">
|
||||
{{ t("Events nearby {position}", { position: userLocationName }) }}
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ t("Events close to you") }}
|
||||
</template>
|
||||
</template>
|
||||
<template #content>
|
||||
<skeleton-event-result
|
||||
|
|
Loading…
Reference in a new issue