<% if (_.isEmpty(googleApiKey)) { %>

<%= _.isUndefined(i18n['In order to display your lead visit locations on a map, please']) ? 'In order to display your lead visit locations on a map, please':i18n['In order to display your lead visit locations on a map, please'] %> <%= _.isUndefined(i18n['add your free Google Map API key']) ? 'add your free Google Map API key':i18n['add your free Google Map API key'] %> <%= _.isUndefined(i18n['from the "Lead config" tab in your CRM configuration screen']) ? 'from the "Lead config" tab in your CRM configuration screen':i18n['from the "Lead config" tab in your CRM configuration screen'] %>.

<% } else { %>

<%= _.isUndefined(i18n['Location']) ? 'Location':i18n['Location'] %>:

<% $.each(citiesInfo, function(id, cityInfoObject) { %> <%= cityInfoObject.quantity %> from <%= cityInfoObject.city %> (<%= countryCodes[cityInfoObject.countryCode.toUpperCase()] %>) <% }) %> <% } %>