update gmap link with store name in query

This commit is contained in:
David 2015-04-04 21:03:31 -04:00
parent 767514c639
commit a8ceab833b

View File

@ -50,7 +50,7 @@
<table> <table>
<tr><th class="tHeader">Name</th><th class="tHeader">Address</th></tr> <tr><th class="tHeader">Name</th><th class="tHeader">Address</th></tr>
{{#rows}} {{#rows}}
<tr id="{{rowNumber}}" class="spotRow"><td>{{name}}</td><td>{{address}}, {{city}} <a href="https://maps.google.com/maps?q={{address}},{{city}},NY" target="_blank">&#x2197;</a></td></tr> <tr id="{{rowNumber}}" class="spotRow"><td>{{name}}</td><td>{{address}}, {{city}} <a href="https://maps.google.com/maps?q={{name}} {{address}},{{city}},NY" target="_blank">&#x2197;</a></td></tr>
{{/rows}} {{/rows}}
</table> </table>
</script> </script>
@ -61,7 +61,7 @@
<h2>{{name}}</h2> <h2>{{name}}</h2>
<p class="colorText">{{address}}<p> <p class="colorText">{{address}}<p>
<p class="colorText">{{city}}, NY {{#postcode}} {{postcode}} {{/postcode}}</p> <p class="colorText">{{city}}, NY {{#postcode}} {{postcode}} {{/postcode}}</p>
<p><a href="https://maps.google.com/maps?q={{address}},{{city}},NY" target="_blank">View in Google Maps</a></p> <p><a href="https://maps.google.com/maps?q={{name}} {{address}},{{city}},NY" target="_blank">View in Google Maps</a></p>
<ul> <ul>
<li><span class="category">Events:</span> {{events}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <li><span class="category">Events:</span> {{events}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span class="category">Caf&eacute;:</span> {{cafe}}</li> <span class="category">Caf&eacute;:</span> {{cafe}}</li>
@ -83,7 +83,7 @@
<h2>{{name}}</h2> <h2>{{name}}</h2>
<p class="colorText">{{address}}<p> <p class="colorText">{{address}}<p>
<p class="colorText">{{city}},NY {{#postcode}} {{postcode}} {{/postcode}}</p> <p class="colorText">{{city}},NY {{#postcode}} {{postcode}} {{/postcode}}</p>
<p><a href="https://maps.google.com/maps?q={{address}},{{city}},NY" target="_blank">View in Google Maps</a></p> <p><a href="https://maps.google.com/maps?q={{name}} {{address}},{{city}},NY" target="_blank">View in Google Maps</a></p>
<ul> <ul>
<li><span class="category">Events:</span> {{events}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <li><span class="category">Events:</span> {{events}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span class="category">Caf&eacute;:</span> {{cafe}}</li> <span class="category">Caf&eacute;:</span> {{cafe}}</li>