PointRetrait : géolocalisation sur la carte

This commit is contained in:
2021-03-02 18:00:11 +01:00
parent 545a8e2efa
commit 5c885af961
17 changed files with 119 additions and 27 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 117 KiB

View File

@@ -26,7 +26,7 @@
height: 30px !important;
}
.pin {
.pin-lps {
height: 25px;
margin-left: 12px;
}
@@ -82,7 +82,7 @@
{loop name="cities" type="lps_area_cities" area_id="$area_id" order="title"}
<tr>
<td>{$ZIPCODE}</td>
<td>{$TITLE}{if $LATITUDE eq '' or $LONGITUDE eq ''}<img src="{image file='assets/img/pin.svg'}" title="Pas de coordonnées pour cette commune" alt="Pas de coordonnées" class="pin" />{/if}</td>
<td>{$TITLE}{if $LATITUDE eq '' or $LONGITUDE eq ''}<img src="{image file='assets/img/pin.svg' source='LivraisonParSecteurs'}" title="Pas de coordonnées pour cette commune" alt="Pas de coordonnées" class="pin-lps" />{/if}</td>
<td class="actions">
<div class="btn-group" role="group">
{loop name="auth-delete" type="auth" role="ADMIN" resource="admin.lps.cities" access="DELETE" module="LivraisonParSecteurs"}

View File

@@ -29,15 +29,15 @@
<tbody>
{loop name="deliveries-loop" type="scheduled_deliveries" domicile_ou_retrait="domicile" only_future="true" order="date"}
{if $DELTA <= 7}
{assign var=path value="{image file='/assets/img/flag-green.png'}"}
{assign var=path value="{image file='assets/img/drapeau-vert.png'}"}
{assign var=alt value='Drapeau vert'}
{/if}
{if $DELTA <= 4}
{assign var=path value="{image file='/assets/img/flag-orange.png'}"}
{assign var=path value="{image file='assets/img/drapeau-orange.png'}"}
{assign var=alt value='Drapeau orange'}
{/if}
{if $DELTA <= 1}
{assign var=path value="{image file='/assets/img/flag-red.png'}"}
{assign var=path value="{image file='assets/img/drapeau-rouge.png'}"}
{assign var=alt value='Drapeau rouge'}
{/if}
{assign var=title value="{$DELTA} jour(s) de délai"}