Remove toString calls (upgrade to latest pixy version)

This commit is contained in:
2018-04-25 22:15:42 +02:00
parent a6fea3965c
commit 526a7998bb
14 changed files with 18 additions and 18 deletions

View File

@ -15,7 +15,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
.company-sidebar
if company.Location.Latitude != 0 && company.Location.Longitude != 0
h3.mountable Location
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + toString(company.Location.Latitude) + "," + toString(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0")
iframe.company-location.mountable(src="https://www.google.com/maps/embed/v1/place?q=" + fmt.Sprint(company.Location.Latitude) + "," + fmt.Sprint(company.Location.Longitude) + "&key=AIzaSyAsx6fhqRGaMLTixIJMIZBU4Mg6HJmvQf0")
if len(closeCompanies) > 0
h3.mountable Within 1 km radius