% if (@{$station_coordinates}) { Fahrten % } % else { Keine Fahrten % } % if (param('filter_type')) { mit <%= param('filter_type') %> % } % if (stash('year')) { im Jahr <%= stash('year') %> % } % elsif (param('filter_from') and param('filter_to')) { zwischen dem <%= param('filter_from') %> und dem <%= param('filter_to') %> % } % elsif (param('filter_from')) { ab dem <%= param('filter_from') %> % } % elsif (param('filter_to')) { bis einschließlich <%= param('filter_to') %> % } % elsif (@{$station_coordinates}) { in travelynx % } % if (not @{$station_coordinates}) { gefunden % }
%= include '_map', station_coordinates => $station_coordinates, polyline_groups => $polyline_groups %= form_for '/history/map' => begin

Detailgrad:

Weitere Filter:

%= text_field 'filter_from', id => 'filter_from', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9]( +[0-9][0-9]:[0-9][0-9])?'
%= text_field 'filter_to', id => 'filter_to', class => 'validate', pattern => '[0-9][0-9]?[.][0-9][0-9]?[.][0-9][0-9][0-9][0-9]( +[0-9][0-9]:[0-9][0-9])?'
%= text_field 'filter_type', id => 'filter_type'
%= end

Die eingezeichneten Routen stammen aus dem HAFAS und sind im Detail oft fehlerbehaftet.

% if (@{$skipped_journeys // []}) {

Die folgenden Fahrten wurden nicht eingezeichnet:

% }