{% extends "mapit/base.html" %}
{% load i18n %}
{% block title %}{% blocktrans with postcode=postcode.postcode %}Results for “{{ postcode }}”{% endblocktrans %}{% endblock title %}
{% block content %}
{{ postcode.postcode }}
{% if postcode.coordsyst %}
- {% ifequal postcode.coordsyst "G" %}OSGB{% else %}IRE65{% endifequal %}
E/N: {{ postcode.easting }}, {{ postcode.northing }}
{% endif %}
{% if postcode.wgs84_lat or postcode.wgs84_lon %}
- {% trans "WGS84 lat/lon" %}: {{ postcode.wgs84_lat|floatformat:-6 }}, {{ postcode.wgs84_lon|floatformat:-6 }}
{% else %}
- {% blocktrans trimmed %}
No location information. Note this is a valid postcode (otherwise you would have got a 404), just one for which we don’t know the location.
{% endblocktrans %}
{% endif %}
{% url json_view postcode=postcode.postcode as json_url %}
- {% blocktrans %}Get this data as JSON{% endblocktrans %}
{% block area_info_extra %}{% endblock %}
{% if postcode.wgs84_lat or postcode.wgs84_lon %}
{% include "mapit/map/init.html" %}
{% endif %}
{% trans "Areas" %}
{% include "mapit/areas.html" %}
{% endblock %}