mod: texts of share load by link

This commit is contained in:
Alexandro Uc Santos
2024-10-26 17:28:05 -06:00
parent c8bbcdaad2
commit e0f551abb2
5 changed files with 9 additions and 9 deletions

View File

@@ -97,7 +97,7 @@
const sharePost = () => {
const url = `https://console.etaviaporte.com/publico/carga/${props.load._id}`;
const title = "";
const title = "Revisa mi publicación de carga, ¡podría interesarte!";
navigator.share({
title: title,

View File

@@ -11,7 +11,6 @@ export default function useDirectionsRender() {
const geocodeAddress = async (address) => {
try {
const geocoder = new google.maps.Geocoder();
console.log(address)
const data = await geocoder.geocode({ address: address });
const latitude = data.results[0].geometry.location.lat();
const longitude = data.results[0].geometry.location.lng();
@@ -44,7 +43,6 @@ export default function useDirectionsRender() {
})
})
});
console.log({polylines})
return polylines;
} else {
return [];

View File

@@ -351,7 +351,8 @@ const en = {
makeOffer: 'Make offer',
msgOffertDone: 'Offer successfully completed',
msgOffertUpdate: 'Offer updated successfully',
selectVehicle: 'Select vehicle'
selectVehicle: 'Select vehicle',
loginRequired: "You must log in to bid on"
},
vehicles: {
title: 'Vehicles',

View File

@@ -358,7 +358,8 @@ const es = {
makeOffer: 'Realizar oferta',
msgOffertDone: 'Oferta realizada con éxito',
msgOffertUpdate: 'Oferta actualizada con éxito',
selectVehicle: 'Seleccionaar vehículo'
selectVehicle: 'Seleccionaar vehículo',
loginRequired: "Debes iniciar sesión para hacer una oferta en"
},
vehicles: {
title: 'Vehiculos',

View File

@@ -81,15 +81,15 @@
<h2 class="title text-center mt-5">Realizar oferta</h2>
<div
v-if="!hasSession"
class="alert alert-info text-dark mt-3 mb-2"
class="alert alert-info text-dark text-center mt-3 mb-2"
>
Para realizar oferta es necesario que inicies sesión en Etaviaporte
<span>{{ t('proposals.loginRequired') }} <b>Etaviaporte</b></span>
<RouterLink
class="btn btn-dark ms-4"
class="btn btn-dark ms-2"
target="_blank"
:to="{name: 'login'}"
>
Iniciar sesión
{{ t('login.title') }}
</RouterLink>
</div>
<Spiner v-if="loading"/>