{% extends "transport/base.html" %}{% load molly_utils %}{% load i18n %} {% block content %} {{ block.super }} {% if line_status %} {% with line_status as transit_status %} {% include "places/metadata/transit_status.html" %} {% endwith %} {% endif %} {% if favourites %}

{% trans "Favourite" %} {{ type.verbose_name_plural }} - {% now "G:i:s "%}

{% for entity in favourites %} {% if entity.metadata.real_time_information.pip_info %} {% endif %} {% if entity.metadata.real_time_information.services %} {% for service in entity.metadata.real_time_information.services %} {% endfor %} {% else %} {% if not entity.metadata.real_time_information.pip_info %} {% endif %} {% endif %} {% endfor %}
{{ entity.title }} {% if entity.distance %} {% blocktrans with entity.distance.m|humanise_distance as distance and entity.bearing as bearing %}(about {{ distance }} {{ bearing }}){% endblocktrans %} {% endif %}
{{ entity.metadata.real_time_information.pip_info|join:"
" }}
{% if service.route %}{% endif %} {{ service.service }} {% if service.route %}{% endif %} {{ service.destination }} {{ service.next }}{% if service.following %}, {{ service.following.0 }}{% if service.following.1 %}, …{% endif %}{% endif %}
{% trans "There is currently no real time information from this stop." %}
{% endif %}

{% trans "Nearby" %} {{ type.verbose_name_plural }} - {% now "G:i:s "%}

{% if routes %}

{% if selected_routes %}

{% blocktrans count selected_routes|length as num_routes %}Only showing stops on the following route:{% plural %}Only showing stops on the following routes:{% endblocktrans %} {% for selected_route in selected_routes %} {{ selected_route }}{% if not forloop.last %}, {% endif %} {% endfor %}

{% else %}

{% trans "Showing services on all routes." %}

{% endif %} {% endif %}
{% for entity in entities %} {% if entity.metadata.real_time_information.pip_info %} {% endif %} {% if entity.metadata.real_time_information.services %} {% for service in entity.metadata.real_time_information.services %} {% endfor %} {% else %} {% if not entity.metadata.real_time_information.pip_info %} {% endif %} {% endif %} {% empty %} {% endfor %}
{{ entity.title }} {% if entity.distance %} {% blocktrans with entity.distance.m|humanise_distance as distance and entity.bearing as bearing %}(about {{ distance }} {{ bearing }}){% endblocktrans %} {% endif %}
{{ entity.metadata.real_time_information.pip_info|join:"
" }}
{% if service.route %}{% endif %} {% if service.journey %}{% endif %} {{ service.service }} {% if service.route or service.journey %}{% endif %} {{ service.destination }} {{ service.next }}{% if service.following %}, {{ service.following.0 }}{% if service.following.1 %}, …{% endif %}{% endif %}
{% trans "There is currently no real time information from this stop." %}
{% blocktrans with type.verbose_name_plural as type %}There are no {{ type }} near you.{% endblocktrans %}
{% endblock %}