Browse Source

Merge pull request #113 from wagtail/110_rem_maplinks

Remove map links from Locations index
Scot Hacker 8 năm trước cách đây
mục cha
commit
6c919e0736
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      bakerydemo/templates/locations/locations_index_page.html

+ 1 - 1
bakerydemo/templates/locations/locations_index_page.html

@@ -25,7 +25,7 @@
 
                 </h1></a>
                     <address>{{ location.address }}</address>
-                    <a href="https://google.com/maps/?q={{ location.lat_long }}" class="btn">Map</a>
+                    <a href="https://google.com/maps/?q={{ location.lat_long }}" class="btn" target="_blank">Map</a>
             </div>
         {% endfor %}
     </div>