{% extends "tours/base.html" %}{% load i18n %}{% load molly_maps %}{% load molly_utils %} {% block content %} {% include "geolocation/update_location_embed.html" %} {% if stop %} {% if previous_stop %} {% endif %}

{{ stop.entity.title }}

{{ stop.description }}
{% if route %}
{% if geolocation.name %}

{% blocktrans with stop.entity.title as title %}Directions to {{ title }} from your current location{% endblocktrans %}

{% else %}

{% blocktrans with stop.entity.title as title %}Directions to {{ title }} from your previous stop{% endblocktrans %}

{% endif %}
{% render_map route_map %}
{% blocktrans with route.total_time|humanise_seconds as time and route.total_distance|humanise_distance as distance %}This route will take {{ time }} and cover {{ distance }}.{% endblocktrans %}
    {% for waypoint in route.waypoints %}
  1. {{ waypoint.instruction }}
    {{ waypoint.additional }}
  2. {% endfor %}
{% trans 'Please note that the route information provided should be followed at your own risk.' %}
{% else %} {% if geolocation.name %}
{% trans 'We could not plot a route to this location as we do not know where you currently are.' %}
{% else %}
{% trans 'We could not plot a route to this location.' %}
{% endif %} {% endif %} {% if next_stop %} {% endif %} {% else %} {% if created %} {% url url_shortener:index as share_link %}

{% blocktrans with full_path|urlencode as share_url %}Your tour has been created and is saved to this device, you can use the Share button to share on different devices. Your route order may have been optimised to minimise travelling distance.{% endblocktrans %}

{% endif %} {% if arrival_points or arrival_routes %}

{% trans 'Arrival method' %}

{% endif %} {% if first_directions %} {% if first_directions.error %}
{% trans 'An error occurred plotting a route from this arrival point to your first stop.' %}
{% else %}
{% if p_and_r %}

{% blocktrans with p_and_r.start.title as start and p_and_r.closest_stop.title as end %}Park & Ride from {{ start }} to {{ end }}{% endblocktrans %}

{% blocktrans count p_and_r.routes|length as num_routes with p_and_r.routes|join:', ' as route_numbers and p_and_r.start.title as start and p_and_r.origin_stop.entity.title as origin_stop %}At {{ start }} take service {{ route_numbers }} from {{ origin_stop }}.{% plural %}At {{ start }} take any of services {{ route_numbers }} from stop {{ origin_stop }}.{% endblocktrans %}

{% blocktrans with p_and_r.closest_stop.title as end %}When the service reaches {{ end }}, disembark and continue by foot using the directions below.{% endblocktrans %}

{% endif %}

{% blocktrans with directions_end.title as dest_title and directions_start.title as origin_title %}Directions to {{ dest_title }} from {{ origin_title }}{% endblocktrans %}

{% render_map directions_map %}
{% blocktrans with first_directions.total_time|humanise_seconds as time and first_directions.total_distance|humanise_distance as distance %}This route will take {{ time }} and cover {{ distance }}.{% endblocktrans %}
    {% for waypoint in first_directions.waypoints %}
  1. {{ waypoint.instruction }}
    {{ waypoint.additional }}
  2. {% endfor %}
{% trans 'Please note that the route information provided should be followed at your own risk.' %}
{% endif %} {% endif %} {% endif %}

{% trans 'Stops on tour' %}

{% endblock %}