Changed builing gmaps link to building coords
This commit is contained in:
@@ -149,8 +149,8 @@
|
||||
<tr id="termination-<?=$term->id?>" class="table-bg-<?=($bcount % 2 == 0) ? "even" : "odd"?>">
|
||||
<td>
|
||||
<div>
|
||||
<?php if($term->building->workflowitems['anschlusspunkt_gps']->value->value_string): ?>
|
||||
<a href="https://www.google.com/maps/search/?api=1&query=<?=join(",", $term->building->workflowitems['anschlusspunkt_gps']->value->gps)?>" target="_blank">
|
||||
<?php if($term->building->gps_lat && $term->building->gps_long): ?>
|
||||
<a href="https://www.google.com/maps/search/?api=1&query=<?=$term->building->gps_lat?>,<?=$term->building->gps_long?>" target="_blank">
|
||||
<i class='fas fa-globe-europe'></i> <strong style="white-space: nowrap;"><?=$term->building->street?></strong>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
|
||||
Reference in New Issue
Block a user