mod: texts of share load by link
This commit is contained in:
@@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
const sharePost = () => {
|
const sharePost = () => {
|
||||||
const url = `https://console.etaviaporte.com/publico/carga/${props.load._id}`;
|
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({
|
navigator.share({
|
||||||
title: title,
|
title: title,
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ export default function useDirectionsRender() {
|
|||||||
const geocodeAddress = async (address) => {
|
const geocodeAddress = async (address) => {
|
||||||
try {
|
try {
|
||||||
const geocoder = new google.maps.Geocoder();
|
const geocoder = new google.maps.Geocoder();
|
||||||
console.log(address)
|
|
||||||
const data = await geocoder.geocode({ address: address });
|
const data = await geocoder.geocode({ address: address });
|
||||||
const latitude = data.results[0].geometry.location.lat();
|
const latitude = data.results[0].geometry.location.lat();
|
||||||
const longitude = data.results[0].geometry.location.lng();
|
const longitude = data.results[0].geometry.location.lng();
|
||||||
@@ -44,7 +43,6 @@ export default function useDirectionsRender() {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
console.log({polylines})
|
|
||||||
return polylines;
|
return polylines;
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
|
|||||||
@@ -351,7 +351,8 @@ const en = {
|
|||||||
makeOffer: 'Make offer',
|
makeOffer: 'Make offer',
|
||||||
msgOffertDone: 'Offer successfully completed',
|
msgOffertDone: 'Offer successfully completed',
|
||||||
msgOffertUpdate: 'Offer updated successfully',
|
msgOffertUpdate: 'Offer updated successfully',
|
||||||
selectVehicle: 'Select vehicle'
|
selectVehicle: 'Select vehicle',
|
||||||
|
loginRequired: "You must log in to bid on"
|
||||||
},
|
},
|
||||||
vehicles: {
|
vehicles: {
|
||||||
title: 'Vehicles',
|
title: 'Vehicles',
|
||||||
|
|||||||
@@ -358,7 +358,8 @@ const es = {
|
|||||||
makeOffer: 'Realizar oferta',
|
makeOffer: 'Realizar oferta',
|
||||||
msgOffertDone: 'Oferta realizada con éxito',
|
msgOffertDone: 'Oferta realizada con éxito',
|
||||||
msgOffertUpdate: 'Oferta actualizada 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: {
|
vehicles: {
|
||||||
title: 'Vehiculos',
|
title: 'Vehiculos',
|
||||||
|
|||||||
@@ -81,15 +81,15 @@
|
|||||||
<h2 class="title text-center mt-5">Realizar oferta</h2>
|
<h2 class="title text-center mt-5">Realizar oferta</h2>
|
||||||
<div
|
<div
|
||||||
v-if="!hasSession"
|
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
|
<RouterLink
|
||||||
class="btn btn-dark ms-4"
|
class="btn btn-dark ms-2"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
:to="{name: 'login'}"
|
:to="{name: 'login'}"
|
||||||
>
|
>
|
||||||
Iniciar sesión
|
{{ t('login.title') }}
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
<Spiner v-if="loading"/>
|
<Spiner v-if="loading"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user