<% if(data && data['stations']) { %> <% _.each(data.stations, function(station_info) { %> <% var station = Stations.getStation(station_info.station_id); var img = ['<'+'im'+'g s'+'rc="']; var imgWidth = $(window).width(); // Errechne Bildhöhe // Windowheight - Navbar / 2 abzgl. Höhe Preisanzeige und Addresse // Math.max, damit eine Mindesthöhe eingehalten wird. var imgHeight = Math.max(80, Math.round( (($(window).height() - 44) / 2) - 77 - 77 )); img.push('http://maps.googleapis.com/maps/api/staticmap?'); img.push('sensor=true&size='+imgWidth+'x'+imgHeight); img.push('&scale=2&language=de®ion=de&zoom=13'); img.push('&markers=icon:' + JET.baseURL + 'images/JET_TS_marker_small.png%7C'+station.lat+','+station.lng); img.push('" alt="" width="'+imgWidth+'" height="'+imgHeight+'" />'); %>
<% print(img.join('')) %>
<%= station.street %>
<%= station.zip %> <%= station.city %>
Aktueller Preis
<% _.each(['L003', 'L005', 'L004', 'L001'], function(price_code) { %>
<%= JET.pricecode(price_code) %> € <%- JET.formatPrice(station_info.prices[price_code]) %>
<% }); %>
    <% if(station_info.has_alarm) { %>
    Dein Preisalarm <%= JET.pricecode(station_info.has_alarm.fueltype) %> € <%= station_info.has_alarm.price %> Gültig bis <%= (new Date(station_info.has_alarm.valid_until * 1000)).format('d.m.Y H:i') %> Uhr
    <% } else { %> <% } %>
    <% }); %> <% } %> <% if(data && data['stations'] && data.stations.length == 1) { %>
    <% } %> <% if(!data) { %>

    Preisalarm

    Wähle einfach den Wunsch-Kraftstoffpreis an der JET Station Deiner Wahl und wir alarmieren Dich per Push-Nachricht, E-Mail oder kostenloser SMS sobald „Dein“ Preis erreicht ist. Schlauer ist das!

    Dies ruft den JET Tankstellenfinder auf. Suche dort die JET Tankstelle, die Du als Stammtankstelle speichern möchtest und klicke anschließend auf das Sternsymbol .

    <% } %>